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 19, 2021 19:44Yuriy LyfenkoYuriy LyfenkoScore: 6,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 19:446,2664,436,430,94320,050,17602,277,376
2May 19, 2021 19:446,2833,438,653,71420,105,60602,187,264
3May 19, 2021 19:446,2941,820,546,49720,142,35402,285,568
4May 19, 2021 19:446,3004,441,645,86120,161,59902,293,760
5May 19, 2021 19:446,3051,484,725,51220,177,10002,289,664
6May 19, 2021 19:446,3302,524,206,63720,256,90802,285,568