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 15, 2021 22:07Yuriy LyfenkoYuriy LyfenkoScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:075,43346,630,76016,365,0001,022,0002,260,992
2May 15, 2021 22:075,43535,319,36516,369,0001,023,0002,523,136
3May 15, 2021 22:075,44442,820,49517,420,00002,523,136
4May 15, 2021 22:075,45333,206,93116,424,0001,026,0002,523,136
5May 15, 2021 22:075,46443,883,75317,485,00002,523,136
6May 15, 2021 22:075,47340,995,69416,483,0001,030,0002,260,992
7May 15, 2021 22:075,47641,256,48316,494,0001,030,0002,523,136
8May 15, 2021 22:075,47734,210,75017,527,00002,523,136
9May 15, 2021 22:075,47939,208,86216,502,0001,031,0002,392,064
10May 15, 2021 22:075,68993,969,67318,203,45402,281,472
11May 15, 2021 22:075,69474,738,95218,221,90902,285,568
12May 15, 2021 22:075,70994,222,77718,268,57102,281,472