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:09BenBenScore: 4,846Success
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:094,82342,055,54615,435,00002,392,064
2Jul 30, 2024 03:094,83135,373,09514,430,0001,030,0002,371,584
3Jul 30, 2024 03:094,83631,137,47214,444,0001,031,0002,265,088
4Jul 30, 2024 03:094,84132,964,26815,491,00002,506,752
5Jul 30, 2024 03:094,84335,241,13514,464,0001,033,0002,392,064
6Jul 30, 2024 03:094,84339,550,11615,498,00002,265,088
7Jul 30, 2024 03:094,84636,196,29915,508,00002,527,232
8Jul 30, 2024 03:094,85933,724,91015,548,00002,498,560
9Jul 30, 2024 03:094,90244,447,90114,642,0001,045,0002,387,968
10Jul 30, 2024 03:095,10894,857,01016,346,73002,277,376
11Jul 30, 2024 03:095,10893,208,49016,347,07302,277,376
12Jul 30, 2024 03:095,15399,872,72516,490,32302,285,568