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 listMar 26, 2026 13:35limanjun99limanjun99Score: 4,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 26, 2026 13:354,25830,411,82412,579,0001,048,0002,408,448
2Mar 26, 2026 13:354,26129,436,05812,586,0001,048,0002,400,256
3Mar 26, 2026 13:354,26830,947,58313,658,00002,396,160
4Mar 26, 2026 13:354,27029,882,51012,614,0001,051,0002,281,472
5Mar 26, 2026 13:354,27836,800,37713,689,00002,396,160
6Mar 26, 2026 13:354,27938,235,66212,641,0001,053,0002,281,472
7Mar 26, 2026 13:354,29029,833,37813,729,00002,281,472
8Mar 26, 2026 13:354,29229,413,08012,678,0001,056,0002,387,968
9Mar 26, 2026 13:354,33633,692,29613,876,00002,281,472