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 listJul 13, 2021 19:21Andrey TsvetkovAndrey TsvetkovScore: 5,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:215,70236,218,52715,205,0003,041,0002,326,528
2Jul 13, 2021 19:215,70744,945,35415,219,0003,043,0002,334,720
3Jul 13, 2021 19:215,72335,006,61115,260,0003,052,0002,334,720
4Jul 13, 2021 19:215,73545,650,47816,314,0002,039,0002,531,328
5Jul 13, 2021 19:215,73735,431,26616,318,0002,039,0002,392,064
6Jul 13, 2021 19:215,73982,763,20918,365,81002,232,320
7Jul 13, 2021 19:215,74541,031,68615,320,0003,064,0002,334,720
8Jul 13, 2021 19:215,74844,764,80715,329,0003,065,0002,342,912
9Jul 13, 2021 19:215,75242,300,92516,360,0002,045,0002,334,720
10Jul 13, 2021 19:215,75789,859,27718,421,93802,236,416
11Jul 13, 2021 19:215,75874,741,33718,425,71202,224,128
12Jul 13, 2021 19:215,76540,681,90216,399,0002,049,0002,334,720