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:46Dmitry DolgopolovDmitry DolgopolovScore: 5,027Success
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:464,99032,171,21513,973,0001,996,0002,535,424
2May 28, 2021 20:464,99633,543,08213,990,0001,998,0002,445,312
3May 28, 2021 20:464,99633,593,21713,990,0001,998,0002,445,312
4May 28, 2021 20:465,01133,564,35614,030,0002,004,0002,535,424
5May 28, 2021 20:465,01342,139,16214,037,0002,005,0002,441,216
6May 28, 2021 20:465,02545,147,74914,071,0002,010,0002,273,280
7May 28, 2021 20:465,02738,392,32515,080,0001,005,0002,437,120
8May 28, 2021 20:465,04033,425,20314,113,0002,016,0002,445,312
9May 28, 2021 20:465,04630,609,42814,128,0002,018,0002,269,184
10May 28, 2021 20:465,25069,892,08516,798,61802,203,648
11May 28, 2021 20:465,27048,223,07716,864,44902,199,552
12May 28, 2021 20:465,36755,606,41217,174,98002,199,552