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 12:24BenBenScore: 4,648Success
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 12:244,59140,531,56513,642,0001,049,0002,265,088
2Jul 30, 2024 12:244,59734,494,34413,659,0001,050,0002,265,088
3Jul 30, 2024 12:244,63030,850,48512,842,0001,975,0002,371,584
4Jul 30, 2024 12:244,63832,651,54114,843,00002,265,088
5Jul 30, 2024 12:244,64640,572,58513,876,000991,0002,498,560
6Jul 30, 2024 12:244,64737,077,58412,888,0001,982,0002,269,184
7Jul 30, 2024 12:244,64830,006,59112,891,0001,983,0002,502,656
8Jul 30, 2024 12:244,64834,591,15414,874,00002,375,680
9Jul 30, 2024 12:244,64932,666,00014,877,00002,383,872
10Jul 30, 2024 12:244,91575,867,81515,728,66102,269,184
11Jul 30, 2024 12:244,96179,765,30415,876,23902,265,088
12Jul 30, 2024 12:244,98483,944,47215,947,70502,396,160