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 listMay 7, 2025 02:01zielajzielajScore: 366,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 7, 2025 02:01365,7001,195,225,2221,168,246,0001,995,0002,527,232
2May 7, 2025 02:01365,7331,193,186,7891,168,352,0001,995,0002,486,272
3May 7, 2025 02:01366,4391,198,604,2031,172,606,00002,490,368
4May 7, 2025 02:01366,5231,204,606,1651,172,872,00002,490,368
5May 7, 2025 02:01366,7461,201,593,6091,173,586,00002,265,088
6May 7, 2025 02:01366,7611,201,849,7551,173,635,00002,265,088