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 listMar 19, 2026 23:27olliecrowolliecrowScore: 4,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 19, 2026 23:364,42031,950,09913,135,0001,010,0002,277,376
2Mar 19, 2026 23:364,42032,092,69312,125,0002,020,0002,404,352
3Mar 19, 2026 23:364,42631,722,34713,153,0001,011,0002,396,160
4Mar 19, 2026 23:274,42830,114,24612,146,0002,024,0002,396,160
5Mar 19, 2026 23:274,43928,085,46013,192,0001,014,0002,396,160
6Mar 19, 2026 23:274,75238,577,09013,180,0002,027,0002,400,256