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 listDec 20, 2025 06:24Ahmed MhedhbiAhmed MhedhbiScore: 5,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 06:245,27842,801,88815,833,0001,055,0002,260,992
2Dec 20, 2025 06:245,28345,579,47714,916,0001,988,0002,260,992
3Dec 20, 2025 06:245,28544,193,60914,922,0001,989,0002,519,040
4Dec 20, 2025 06:245,29646,975,79315,950,000996,0002,519,040
5Dec 20, 2025 06:245,31250,129,33214,998,0001,999,0002,523,136
6Dec 20, 2025 06:245,31434,353,21015,005,0002,000,0002,523,136
7Dec 20, 2025 06:245,36450,261,03315,145,0002,019,0002,379,776
8Dec 20, 2025 06:245,41744,039,80516,316,0001,019,0002,523,136
9Dec 20, 2025 06:245,44347,945,67417,416,00002,383,872