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 30, 2022 13:37Keichi TakahashiKeichi TakahashiScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:375,21548,144,60015,646,0001,043,0002,387,968
2May 30, 2022 13:375,21836,263,15815,653,0001,043,0002,396,160
3May 30, 2022 13:375,22444,574,18715,674,0001,044,0002,383,872
4May 30, 2022 13:375,27533,331,69615,888,000993,0002,265,088
5May 30, 2022 13:375,27638,320,26514,898,0001,986,0002,265,088
6May 30, 2022 13:375,27733,908,55215,892,000993,0002,392,064
7May 30, 2022 13:375,27839,165,67014,903,0001,987,0002,396,160
8May 30, 2022 13:375,27932,123,71015,899,000993,0002,392,064
9May 30, 2022 13:375,28036,584,99415,902,000993,0002,392,064
10May 30, 2022 13:375,45290,120,95417,446,68202,285,568
11May 30, 2022 13:375,46191,447,23317,476,23002,281,472
12May 30, 2022 13:375,48260,426,82717,541,55102,289,664