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 listJan 21, 2024 08:33AnSaAnSaScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 08:335,27245,457,34815,877,000992,0002,281,472
2Jan 21, 2024 08:335,27245,083,66516,869,00002,396,160
3Jan 21, 2024 08:335,27245,968,34814,886,0001,984,0002,396,160
4Jan 21, 2024 08:335,27232,748,56415,879,000992,0002,392,064
5Jan 21, 2024 08:335,27344,612,01415,881,000992,0002,281,472
6Jan 21, 2024 08:335,27645,292,56514,898,0001,986,0002,281,472
7Jan 21, 2024 08:335,27741,628,46615,893,000993,0002,392,064
8Jan 21, 2024 08:335,29137,833,48114,939,0001,991,0002,486,272
9Jan 21, 2024 08:335,30134,813,59714,969,0001,995,0002,281,472
10Jan 21, 2024 08:335,46982,049,78817,500,32802,289,664
11Jan 21, 2024 08:335,46996,955,68617,501,35102,293,760
12Jan 21, 2024 08:335,48784,749,32017,558,28302,281,472