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 29, 2021 15:59Dmitry DolgopolovDmitry DolgopolovScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 15:595,08040,148,36114,225,0002,032,0002,441,216
2May 29, 2021 15:595,08329,964,73815,249,0001,016,0002,535,424
3May 29, 2021 15:595,08837,434,34815,264,0001,017,0002,273,280
4May 29, 2021 15:595,11131,785,99515,334,0001,022,0002,269,184
5May 29, 2021 15:595,11830,774,62315,355,0001,023,0002,535,424
6May 29, 2021 15:595,12140,940,46415,362,0001,024,0002,433,024
7May 29, 2021 15:595,12436,155,93815,374,0001,024,0002,273,280
8May 29, 2021 15:595,13531,865,22715,405,0001,027,0002,535,424
9May 29, 2021 15:595,14640,687,76515,439,0001,029,0002,437,120
10May 29, 2021 15:595,32979,489,64817,052,10502,203,648
11May 29, 2021 15:595,38169,431,37117,218,50502,207,744
12May 29, 2021 15:595,39855,496,62617,272,98902,199,552