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 listJan 29, 2026 16:28lipapipalipapipaScore: 4,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2026 16:284,68439,052,65313,991,000999,0002,404,352
2Jan 29, 2026 16:294,69435,096,71314,020,0001,001,0002,392,064
3Jan 29, 2026 16:284,70637,899,26313,051,0002,007,0002,269,184
4Jan 29, 2026 16:294,70735,373,14912,050,0003,012,0002,273,280
5Jan 29, 2026 16:284,70838,620,94514,061,0001,004,0002,269,184
6Jan 29, 2026 16:294,71741,512,52014,087,0001,006,0002,269,184
7Jan 29, 2026 16:284,71844,831,81914,091,0001,006,0002,400,256
8Jan 29, 2026 16:284,72231,925,24813,097,0002,014,0002,269,184
9Jan 29, 2026 16:284,73541,829,19913,132,0002,020,0002,269,184