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:11Rajarshi BasuRajarshi BasuScore: 4,349Success
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:114,33328,777,96713,866,00002,277,376
2Jan 6, 2026 10:114,33535,320,43112,882,000990,0002,396,160
3Jan 6, 2026 10:114,33734,774,21812,888,000991,0002,277,376
4Jan 6, 2026 10:114,33743,460,78911,895,0001,982,0002,277,376
5Jan 6, 2026 10:114,33828,902,04812,889,000991,0002,404,352
6Jan 6, 2026 10:114,34929,700,29012,922,000994,0002,392,064
7Jan 6, 2026 10:114,34933,788,65711,929,0001,988,0002,396,160
8Jan 6, 2026 10:114,35837,132,88412,948,000996,0002,277,376
9Jan 6, 2026 10:114,35931,133,05012,953,000996,0002,277,376
10Jan 6, 2026 10:114,36038,414,65112,957,000996,0002,277,376
11Jan 6, 2026 10:114,46234,734,85112,238,0002,039,0002,408,448
12Jan 6, 2026 10:114,47531,655,47512,275,0002,045,0002,277,376