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 listFeb 23, 2023 22:29Andranik ChakiryanAndranik ChakiryanScore: 5,969Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 22:295,93643,529,66117,995,000999,0002,363,392
2Feb 23, 2023 22:295,94346,073,84318,017,0001,000,0002,359,296
3Feb 23, 2023 22:295,94843,946,80017,031,0002,003,0002,355,200
4Feb 23, 2023 22:295,95752,377,03318,058,0001,003,0002,355,200
5Feb 23, 2023 22:295,95744,312,31717,055,0002,006,0002,355,200
6Feb 23, 2023 22:295,95845,231,55018,063,0001,003,0002,359,296
7Feb 23, 2023 22:295,96948,769,42618,096,0001,005,0002,363,392
8Feb 23, 2023 22:295,98748,898,55918,150,0001,008,0002,342,912
9Feb 23, 2023 22:295,99383,675,45119,178,19402,183,168
10Feb 23, 2023 22:295,99643,432,48818,177,0001,009,0002,363,392
11Feb 23, 2023 22:296,00390,613,58719,209,01102,306,048
12Feb 23, 2023 22:296,08185,293,16319,460,53902,187,264