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 listSep 4, 2021 21:38Andrey TsvetkovAndrey TsvetkovScore: 5,993Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:385,94743,047,44817,028,0002,003,0002,334,720
2Sep 4, 2021 21:385,95048,261,31518,039,0001,002,0002,334,720
3Sep 4, 2021 21:385,95744,237,71217,057,0002,006,0002,297,856
4Sep 4, 2021 21:385,96034,205,35917,065,0002,007,0002,306,048
5Sep 4, 2021 21:385,96537,489,04218,083,0001,004,0002,334,720
6Sep 4, 2021 21:385,98644,132,88916,132,0003,024,0002,334,720
7Sep 4, 2021 21:385,99334,939,79517,161,0002,018,0002,297,856
8Sep 4, 2021 21:385,99483,736,45019,181,38602,273,280
9Sep 4, 2021 21:385,99945,193,57616,166,0003,031,0002,342,912
10Sep 4, 2021 21:386,00287,187,02619,207,63802,281,472
11Sep 4, 2021 21:386,00345,383,11416,176,0003,033,0002,301,952
12Sep 4, 2021 21:386,03288,510,64919,301,14502,277,376