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 18, 2024 16:02AnSaAnSaScore: 5,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 16:025,27038,129,28015,873,000992,0002,379,776
2Jan 18, 2024 16:025,28345,729,62814,918,0001,989,0002,265,088
3Jan 18, 2024 16:025,28946,578,44315,931,000995,0002,527,232
4Jan 18, 2024 16:025,28938,435,11416,926,00002,375,680
5Jan 18, 2024 16:025,29031,926,57115,934,000995,0002,265,088
6Jan 18, 2024 16:025,30845,058,35814,987,0001,998,0002,265,088
7Jan 18, 2024 16:025,31436,446,33015,005,0002,000,0002,265,088
8Jan 18, 2024 16:025,31735,178,69315,012,0002,001,0002,265,088
9Jan 18, 2024 16:025,31843,888,70615,016,0002,002,0002,367,488
10Jan 18, 2024 16:025,49889,893,61217,594,02102,277,376
11Jan 18, 2024 16:025,50756,517,33317,621,88502,281,472
12Jan 18, 2024 16:025,51972,439,16717,662,20902,281,472