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 19, 2024 08:27AnSaAnSaScore: 5,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 08:275,66336,723,37815,100,0003,020,0002,363,392
2Jan 19, 2024 08:275,66534,975,05616,115,0002,014,0002,449,408
3Jan 19, 2024 08:275,66943,683,29716,126,0002,015,0002,371,584
4Jan 19, 2024 08:275,67051,487,29216,129,0002,016,0002,355,200
5Jan 19, 2024 08:275,67444,517,58616,140,0002,017,0002,363,392
6Jan 19, 2024 08:275,69137,221,44715,177,0003,035,0002,449,408
7Jan 19, 2024 08:275,70043,151,11016,215,0002,026,0002,371,584
8Jan 19, 2024 08:275,70251,496,00916,100,0002,146,0002,367,488
9Jan 19, 2024 08:275,72943,398,33415,279,0003,055,0002,363,392
10Jan 19, 2024 08:275,81490,415,70818,604,58802,289,664
11Jan 19, 2024 08:275,88292,419,80318,822,04402,289,664
12Jan 19, 2024 08:275,89871,345,38218,873,60802,293,760