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 listJun 13, 2021 11:20Dmitry DolgopolovDmitry DolgopolovScore: 4,988Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:204,96339,720,89314,890,000992,0002,531,328
2Jun 13, 2021 11:204,96333,377,72114,891,000992,0002,441,216
3Jun 13, 2021 11:204,96442,737,07814,893,000992,0002,445,312
4Jun 13, 2021 11:204,96537,235,41113,902,0001,986,0002,449,408
5Jun 13, 2021 11:204,96636,918,50014,898,000993,0002,453,504
6Jun 13, 2021 11:204,97533,716,06813,930,0001,990,0002,445,312
7Jun 13, 2021 11:204,98833,666,16513,966,0001,995,0002,449,408
8Jun 13, 2021 11:204,99136,405,54313,976,0001,996,0002,453,504
9Jun 13, 2021 11:205,13337,113,15415,399,0001,026,0002,445,312
10Jun 13, 2021 11:205,18589,740,01616,593,55002,211,840
11Jun 13, 2021 11:205,20354,803,63816,650,79002,199,552
12Jun 13, 2021 11:205,20789,755,29816,661,82302,203,648