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:32AnSaAnSaScore: 5,288Success
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:325,27132,732,29415,875,000992,0002,281,472
2Jan 21, 2024 08:325,27333,859,26814,889,0001,985,0002,281,472
3Jan 21, 2024 08:325,27642,797,28514,896,0001,986,0002,281,472
4Jan 21, 2024 08:325,27642,973,02215,890,000993,0002,281,472
5Jan 21, 2024 08:325,27647,862,10114,897,0001,986,0002,400,256
6Jan 21, 2024 08:325,28039,547,95815,903,000993,0002,281,472
7Jan 21, 2024 08:325,28848,178,86115,927,000995,0002,392,064
8Jan 21, 2024 08:325,29040,682,27014,937,0001,991,0002,281,472
9Jan 21, 2024 08:325,29535,551,91614,951,0001,993,0002,392,064
10Jan 21, 2024 08:325,47884,727,88817,528,65702,289,664
11Jan 21, 2024 08:325,48258,232,96917,542,06302,281,472
12Jan 21, 2024 08:325,50375,029,62817,608,08102,281,472