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 4, 2026 23:22olliecrowolliecrowScore: 4,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2026 23:224,30728,354,86813,785,00002,486,272
2May 4, 2026 23:224,31428,105,07713,806,00002,494,464
3May 4, 2026 23:224,33627,533,35213,876,00002,486,272
4May 4, 2026 23:224,34028,373,94413,890,00002,490,368
5May 4, 2026 23:224,34227,365,79813,895,00002,482,176
6May 4, 2026 23:224,35231,064,45213,928,00002,486,272
7May 4, 2026 23:224,35327,607,57313,930,00002,486,272
8May 4, 2026 23:224,36227,447,21312,921,0001,038,0002,490,368
9May 4, 2026 23:224,48436,504,13013,269,0001,080,0002,465,792