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 5, 2026 19:35olliecrowolliecrowScore: 4,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 5, 2026 19:354,34044,401,59512,897,000992,0002,277,376
2Mar 5, 2026 19:354,34237,623,42713,895,00002,273,280
3Mar 5, 2026 19:354,34440,116,36912,909,000993,0002,498,560
4Mar 5, 2026 19:354,35033,106,16612,926,000994,0002,498,560
5Mar 5, 2026 19:354,35139,927,46612,928,000994,0002,535,424
6Mar 5, 2026 19:354,36334,451,27312,963,000997,0002,494,464
7Mar 5, 2026 19:354,36337,457,18212,965,000997,0002,273,280
8Mar 5, 2026 19:354,37331,338,88512,996,000999,0002,510,848
9Mar 5, 2026 19:354,50727,677,42214,422,00002,535,424