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 6, 2026 09:54Rajarshi BasuRajarshi BasuScore: 4,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 09:544,34228,891,74012,902,000992,0002,400,256
2Jan 6, 2026 09:544,34334,299,04212,905,000992,0002,396,160
3Jan 6, 2026 09:544,34335,389,03211,914,0001,985,0002,396,160
4Jan 6, 2026 09:544,34731,652,13712,841,0001,070,0002,277,376
5Jan 6, 2026 09:544,34929,599,00312,924,000994,0002,392,064
6Jan 6, 2026 09:544,35031,266,24711,932,0001,988,0002,277,376
7Jan 6, 2026 09:544,35031,293,37913,921,00002,396,160
8Jan 6, 2026 09:544,35342,801,62712,934,000994,0002,400,256
9Jan 6, 2026 09:544,35340,537,01812,936,000995,0002,392,064
10Jan 6, 2026 09:544,35538,492,28311,945,0001,990,0002,400,256
11Jan 6, 2026 09:544,36331,158,36112,966,000997,0002,387,968
12Jan 6, 2026 09:544,36428,464,35012,967,000997,0002,277,376
13Jan 6, 2026 09:544,36533,814,95912,971,000997,0002,396,160
14Jan 6, 2026 09:544,36629,217,01412,973,000997,0002,277,376
15Jan 6, 2026 09:544,37334,400,09911,995,0001,999,0002,400,256
16Jan 6, 2026 09:544,37535,484,93913,000,0001,000,0002,400,256
17Jan 6, 2026 09:544,37540,215,93112,001,0002,000,0002,273,280
18Jan 6, 2026 09:544,37631,686,51513,002,0001,000,0002,277,376
19Jan 6, 2026 09:544,41030,186,90213,105,0001,008,0002,277,376
20Jan 6, 2026 09:544,46530,559,11013,267,0001,020,0002,396,160
21Jan 6, 2026 09:544,53535,783,44613,475,0001,036,0002,400,256