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 listOct 5, 2026 18:39FrederickFrederickScore: 10,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:419,4976,039,415,96213,446,00016,946,0002,113,536
2Oct 5, 2026 18:419,7456,040,090,40613,703,00017,481,0002,113,536
3Oct 5, 2026 18:4110,0136,041,007,05513,605,00018,437,00020,480
4Oct 5, 2026 18:4110,0856,041,234,17513,722,00018,553,00020,480
5Oct 5, 2026 18:4110,2986,042,074,91413,815,00019,140,00020,480
6Oct 5, 2026 18:4110,3746,042,194,41513,761,00019,436,0002,113,536
7Oct 5, 2026 18:4110,4006,042,334,15915,896,00017,387,0002,113,536
8Oct 5, 2026 18:4110,4036,042,052,85513,842,00019,450,0002,113,536
9Oct 5, 2026 18:4111,1846,044,778,76618,012,00017,779,0002,113,536