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 listAug 2, 2024 13:18RicardoRicardoScore: 9,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2025 00:049,32255,835,46426,848,0002,983,0002,547,712
2Sep 25, 2025 00:049,33058,029,93629,856,00002,301,952
3Sep 25, 2025 00:049,33254,581,59928,867,000995,0002,285,568
4Sep 25, 2025 00:049,33957,032,40826,898,0002,988,0002,535,424
5Sep 25, 2025 00:049,38556,803,93730,031,00002,531,328
6Sep 25, 2025 00:049,39558,568,31429,062,0001,002,0002,539,520
7Sep 25, 2025 00:049,40157,982,98828,079,0002,005,0002,519,040
8Sep 25, 2025 00:049,42054,241,62129,141,0001,004,0002,547,712
9Sep 25, 2025 00:049,59354,789,16730,696,00002,539,520
10Aug 2, 2024 13:1810,07897,580,76932,248,85102,347,008
11Aug 2, 2024 13:1810,886108,330,43034,836,35602,347,008
12Aug 2, 2024 13:1810,90489,423,03934,893,12002,347,008