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, 2022 12:54Andrey TsvetkovAndrey TsvetkovScore: 5,767Success
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, 2022 12:545,71342,827,31215,234,0003,046,0002,334,720
2Jan 19, 2022 12:545,71935,275,11815,251,0003,050,0002,334,720
3Jan 19, 2022 12:545,72241,835,01515,258,0003,051,0002,334,720
4Jan 19, 2022 12:545,73234,034,52716,304,0002,038,0002,334,720
5Jan 19, 2022 12:545,74139,426,71716,329,0002,041,0002,465,792
6Jan 19, 2022 12:545,75932,375,99817,407,0001,023,0002,293,760
7Jan 19, 2022 12:545,76765,591,29018,453,18802,289,664
8Jan 19, 2022 12:545,77234,554,39117,445,0001,026,0002,461,696
9Jan 19, 2022 12:545,77343,129,26917,448,0001,026,0002,334,720
10Jan 19, 2022 12:545,78637,061,39415,429,0003,085,0002,334,720
11Jan 19, 2022 12:545,89284,955,83618,852,81502,301,952
12Jan 19, 2022 12:545,90087,163,27318,879,94102,281,472