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:28BenBenScore: 4,607Success
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:284,57646,288,96313,598,0001,046,0002,367,488
2Jul 30, 2024 12:284,58731,481,94713,631,0001,048,0002,371,584
3Jul 30, 2024 12:284,59131,357,00113,641,0001,049,0002,523,136
4Jul 30, 2024 12:284,60330,416,65414,728,00002,265,088
5Jul 30, 2024 12:284,60442,540,13113,682,0001,052,0002,383,872
6Jul 30, 2024 12:284,60541,500,22913,684,0001,052,0002,265,088
7Jul 30, 2024 12:284,60746,166,84914,742,00002,265,088
8Jul 30, 2024 12:284,60939,615,05013,696,0001,053,0002,265,088
9Jul 30, 2024 12:284,64932,701,42413,886,000991,0002,502,656
10Jul 30, 2024 12:284,85258,898,22815,527,99902,277,376
11Jul 30, 2024 12:284,87468,523,78715,595,69302,281,472
12Jul 30, 2024 12:284,89660,845,02415,666,97902,277,376