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,367Success
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,34031,227,24812,896,000992,0002,277,376
2Jan 6, 2026 09:544,34933,394,16011,929,0001,988,0002,404,352
3Jan 6, 2026 09:544,35731,495,65312,946,000995,0002,392,064
4Jan 6, 2026 09:544,35835,753,60611,955,0001,992,0002,392,064
5Jan 6, 2026 09:544,36235,409,91512,962,000997,0002,277,376
6Jan 6, 2026 09:544,36334,597,82912,966,000997,0002,277,376
7Jan 6, 2026 09:544,36729,527,83312,975,000998,0002,519,040
8Jan 6, 2026 09:544,36739,401,37112,976,000998,0002,277,376
9Jan 6, 2026 09:544,36829,683,30711,981,0001,996,0002,404,352
10Jan 6, 2026 09:544,36837,655,82012,979,000998,0002,277,376
11Jan 6, 2026 09:544,37134,198,58312,989,000999,0002,277,376
12Jan 6, 2026 09:544,37737,428,44712,005,0002,000,0002,400,256