Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 18, 2021 14:19Yuriy LyfenkoYuriy LyfenkoScore: 5,371Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:195,3171,340,438,90616,015,0001,000,0002,260,992
2May 18, 2021 14:195,338159,880,16617,083,00002,392,064
3May 18, 2021 14:195,3473,199,804,51216,161,000950,0002,527,232
4May 18, 2021 14:195,3512,250,347,30314,269,0002,853,0002,260,992
5May 18, 2021 14:195,3623,988,977,18717,157,00002,523,136
6May 18, 2021 14:195,3643,557,882,89316,211,000953,0002,260,992
7May 18, 2021 14:195,371705,466,82715,165,0002,022,0002,519,040
8May 18, 2021 14:195,3724,878,578,93015,168,0002,022,0002,260,992
9May 18, 2021 14:195,3934,656,353,13915,226,0002,030,0002,523,136
10May 18, 2021 14:195,5904,312,028,09917,886,40302,277,376
11May 18, 2021 14:195,5974,854,208,13817,910,67402,281,472
12May 18, 2021 14:195,6183,260,027,57817,976,54602,281,472