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 listJul 30, 2024 03:34BenBenScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:345,06540,285,01414,182,0002,026,0002,265,088
2Jul 30, 2024 03:345,10148,596,85214,283,0002,040,0002,383,872
3Jul 30, 2024 03:345,10933,912,63815,327,0001,021,0002,396,160
4Jul 30, 2024 03:345,10939,651,13414,306,0002,043,0002,392,064
5Jul 30, 2024 03:345,11935,484,72316,381,00002,527,232
6Jul 30, 2024 03:345,12535,894,48016,399,00002,265,088
7Jul 30, 2024 03:345,12732,508,09816,407,00002,506,752
8Jul 30, 2024 03:345,13134,670,40516,419,00002,265,088
9Jul 30, 2024 03:345,17539,118,15316,561,00002,392,064
10Jul 30, 2024 03:345,278101,447,68116,889,30002,277,376
11Jul 30, 2024 03:345,29574,289,69316,944,75902,285,568
12Jul 30, 2024 03:345,32590,319,78217,039,33102,289,664