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 listApr 18, 2024 09:20Joad NacerJoad NacerScore: 4,996Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 09:204,95832,607,08813,883,0001,983,0002,289,664
2Apr 18, 2024 09:204,96240,737,21213,893,0001,984,0002,289,664
3Apr 18, 2024 09:204,96331,779,06413,898,0001,985,0002,289,664
4Apr 18, 2024 09:204,96330,802,43214,891,000992,0002,289,664
5Apr 18, 2024 09:204,97632,198,39213,932,0001,990,0002,531,328
6Apr 18, 2024 09:204,97635,833,75413,933,0001,990,0002,289,664
7Apr 18, 2024 09:204,99644,248,19413,988,0001,998,0002,289,664
8Apr 18, 2024 09:204,99933,289,28613,997,0001,999,0002,289,664
9Apr 18, 2024 09:205,01834,036,21215,055,0001,003,0002,269,184
10Apr 18, 2024 09:205,05064,824,29516,158,42702,301,952
11Apr 18, 2024 09:205,07687,573,75616,241,87102,170,880
12Apr 18, 2024 09:205,10574,450,08616,336,18502,289,664