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 31, 2025 04:38AnSaAnSaScore: 4,402Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2025 04:384,38532,426,11513,031,0001,002,0002,265,088
2Oct 31, 2025 04:384,40239,692,72113,079,0001,006,0002,482,176
3Oct 31, 2025 04:384,43329,954,37613,174,0001,013,0002,486,272