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:33AnSaAnSaScore: 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:334,38133,417,47713,017,0001,001,0002,265,088
2Oct 31, 2025 04:334,38130,447,68113,018,0001,001,0002,494,464
3Oct 31, 2025 04:334,39029,509,69213,045,0001,003,0002,527,232
4Oct 31, 2025 04:334,39944,414,43813,072,0001,005,0002,527,232
5Oct 31, 2025 04:334,40230,022,04113,079,0001,006,0002,494,464
6Oct 31, 2025 04:334,40335,974,53613,084,0001,006,0002,494,464
7Oct 31, 2025 04:334,40432,141,97713,086,0001,006,0002,494,464
8Oct 31, 2025 04:334,40735,616,69014,101,00002,482,176
9Oct 31, 2025 04:334,42331,662,33213,143,0001,011,0002,494,464