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 08:35BenBenScore: 4,821Success
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 08:354,78335,492,01114,286,0001,020,0002,527,232
2Jul 28, 2024 08:354,78632,117,20713,274,0002,042,0002,265,088
3Jul 28, 2024 08:354,80039,762,14514,336,0001,024,0002,265,088
4Jul 28, 2024 08:354,80438,962,39115,374,00002,387,968
5Jul 28, 2024 08:354,80532,733,10714,351,0001,025,0002,392,064
6Jul 28, 2024 08:354,80837,902,32814,359,0001,025,0002,387,968
7Jul 28, 2024 08:354,82138,374,11814,400,0001,028,0002,265,088
8Jul 28, 2024 08:354,83130,495,34115,460,00002,379,776
9Jul 28, 2024 08:354,83838,215,95315,482,00002,265,088
10Jul 28, 2024 08:355,04179,738,37616,132,21802,285,568
11Jul 28, 2024 08:355,04879,004,44016,153,54402,281,472
12Jul 28, 2024 08:355,07965,120,98516,253,31302,289,664