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 04:07BenBenScore: 5,176Success
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 04:075,13340,614,13316,425,00002,383,872
2Jul 30, 2024 04:075,13337,591,16415,401,0001,026,0002,265,088
3Jul 30, 2024 04:075,14236,886,51215,427,0001,028,0002,265,088
4Jul 30, 2024 04:075,14740,782,99716,470,00002,265,088
5Jul 30, 2024 04:075,15536,093,62716,495,00002,387,968
6Jul 30, 2024 04:075,16841,759,45816,536,00002,265,088
7Jul 30, 2024 04:075,17645,369,73915,527,0001,035,0002,387,968
8Jul 30, 2024 04:075,17835,196,52416,568,00002,383,872
9Jul 30, 2024 04:075,19937,364,08316,638,00002,265,088
10Jul 30, 2024 04:075,36463,840,49917,164,13102,285,568
11Jul 30, 2024 04:075,38984,039,99417,244,37102,285,568
12Jul 30, 2024 04:075,39275,703,55917,252,86402,289,664