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 10:09Rajarshi BasuRajarshi BasuScore: 4,353Success
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 10:074,33533,131,23113,872,00002,404,352
2Jan 6, 2026 10:084,33734,021,89511,896,0001,982,0002,277,376
3Jan 6, 2026 10:084,33734,325,17211,896,0001,982,0002,400,256
4Jan 6, 2026 10:114,33731,313,93412,888,000991,0002,277,376
5Jan 6, 2026 10:124,33840,495,39612,889,000991,0002,277,376
6Jan 6, 2026 10:124,33828,981,81712,889,000991,0002,277,376
7Jan 6, 2026 10:114,33834,074,35411,900,0001,983,0002,277,376
8Jan 6, 2026 10:094,33930,828,26211,901,0001,983,0002,277,376
9Jan 6, 2026 10:114,34036,373,76411,905,0001,984,0002,277,376
10Jan 6, 2026 10:074,34337,752,33312,906,000992,0002,392,064
11Jan 6, 2026 10:114,35335,503,95112,857,0001,071,0002,510,848
12Jan 6, 2026 10:074,35830,374,08412,948,000996,0002,510,848
13Jan 6, 2026 10:114,36028,530,80812,957,000996,0002,277,376
14Jan 6, 2026 10:124,36131,052,31011,962,0001,993,0002,392,064
15Jan 14, 2026 10:194,36133,557,70612,959,000996,0002,277,376
16Jan 6, 2026 10:084,36245,226,73712,961,000997,0002,277,376
17Jan 14, 2026 10:194,36334,096,75912,965,000997,0002,277,376
18Jan 6, 2026 10:094,36535,966,34111,972,0001,995,0002,408,448
19Jan 14, 2026 10:194,38339,520,94413,024,0001,001,0002,277,376
20Jan 6, 2026 10:114,47434,579,38812,272,0002,045,0002,277,376
21Jan 6, 2026 10:094,59228,453,96013,645,0001,049,0002,277,376