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 listJan 3, 2023 19:53Hal FHal FScore: 4,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 19:534,81333,362,92414,374,0001,026,0002,269,184
2Jan 3, 2023 19:534,82540,924,30814,412,0001,029,0002,289,664
3Jan 3, 2023 19:534,83835,220,09114,448,0001,032,0002,289,664
4Jan 3, 2023 19:534,83832,958,75514,448,0001,032,0002,531,328
5Jan 3, 2023 19:534,83835,819,47414,450,0001,032,0002,281,472
6Jan 3, 2023 19:534,83932,339,05815,484,00002,289,664
7Jan 3, 2023 19:534,85035,335,43315,519,00002,269,184
8Jan 3, 2023 19:534,85131,256,12915,523,00002,273,280
9Jan 3, 2023 19:534,88835,137,43314,600,0001,042,0002,269,184
10Jan 3, 2023 19:535,04793,562,90416,150,79402,179,072
11Jan 3, 2023 19:535,05088,637,36816,159,30802,293,760
12Jan 3, 2023 19:535,08785,345,15916,278,12202,293,760