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 10, 2026 19:29Pavel SkripkinPavel SkripkinScore: 349,867Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 19:29349,5731,142,468,8561,116,634,0001,999,0002,433,024
2Apr 10, 2026 19:29349,7931,147,340,8161,117,340,0001,998,0002,281,472
3Apr 10, 2026 19:29349,8531,142,665,7881,117,532,0001,999,0002,433,024
4Apr 10, 2026 19:29349,8601,143,411,3891,117,552,0001,999,0002,277,376
5Apr 10, 2026 19:29349,8671,145,192,4821,119,575,00002,437,120
6Apr 10, 2026 19:29350,0511,145,408,9731,119,164,0001,000,0002,281,472
7Apr 10, 2026 19:29350,0531,147,253,4421,119,171,0001,000,0002,285,568
8Apr 10, 2026 19:29350,4151,148,309,5421,119,331,0001,998,0002,277,376
9Apr 10, 2026 19:29350,4851,141,969,0291,119,553,0001,999,0002,433,024