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 28, 2024 07:48BenBenScore: 5,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:485,02943,324,09914,083,0002,011,0002,265,088
2Jul 28, 2024 07:485,03737,125,83515,110,0001,007,0002,379,776
3Jul 28, 2024 07:485,04238,418,72814,118,0002,016,0002,265,088
4Jul 28, 2024 07:485,04332,666,96014,119,0002,017,0002,387,968
5Jul 28, 2024 07:485,06531,104,97314,182,0002,026,0002,527,232
6Jul 28, 2024 07:485,06736,859,11414,187,0002,026,0002,383,872
7Jul 28, 2024 07:485,06827,803,03115,206,0001,013,0002,392,064
8Jul 28, 2024 07:485,07437,423,54714,208,0002,029,0002,265,088
9Jul 28, 2024 07:485,07946,117,72615,238,0001,015,0002,265,088
10Jul 28, 2024 07:485,27159,701,22516,866,12202,285,568
11Jul 28, 2024 07:485,27386,294,17816,874,36602,277,376
12Jul 28, 2024 07:485,30295,768,07216,967,31202,285,568