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 28, 2021 20:43Dmitry DolgopolovDmitry DolgopolovScore: 5,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:435,14834,443,72115,443,0001,029,0002,273,280
2May 28, 2021 20:435,15434,819,75415,463,0001,030,0002,449,408
3May 28, 2021 20:435,15737,237,61115,472,0001,031,0002,449,408
4May 28, 2021 20:435,15833,327,32415,476,0001,031,0002,445,312
5May 28, 2021 20:435,15942,625,46915,478,0001,031,0002,437,120
6May 28, 2021 20:435,17144,844,73415,514,0001,034,0002,273,280
7May 28, 2021 20:435,17639,929,63215,527,0001,035,0002,535,424
8May 28, 2021 20:435,17630,642,22015,529,0001,035,0002,445,312
9May 28, 2021 20:435,18548,310,02016,591,00002,449,408
10May 28, 2021 20:435,37763,685,06117,205,97402,256,896
11May 28, 2021 20:435,37875,941,24317,210,42102,203,648
12May 28, 2021 20:435,38248,231,05817,223,14702,199,552