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 listDec 29, 2025 13:29Mark R BestMark R BestScore: 13,260Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:2913,07575,778,28910,958,00030,881,0002,289,664
2Dec 29, 2025 13:2913,12872,690,35711,002,00031,006,0002,265,088
3Dec 29, 2025 13:2913,12972,336,43518,005,00024,007,0002,289,664
4Dec 29, 2025 13:2913,19466,945,98012,063,00030,157,0002,289,664
5Dec 29, 2025 13:2913,26065,526,40619,195,00023,236,0002,273,280
6Dec 29, 2025 13:2913,39967,125,62013,960,00028,918,0002,265,088
7Dec 29, 2025 13:2913,39969,307,98313,960,00028,918,0002,273,280
8Dec 29, 2025 13:2913,44666,294,25616,010,00027,018,0002,273,280
9Dec 29, 2025 13:2913,44867,204,79221,017,00022,018,0002,289,664