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 29, 2021 13:56Andrey TsvetkovAndrey TsvetkovScore: 5,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 13:565,63444,136,54815,024,0003,004,000204,800
2Sep 29, 2021 13:565,67664,395,34018,163,01402,277,376
3Sep 29, 2021 13:565,68733,546,20416,177,0002,022,000237,568
4Sep 29, 2021 13:565,70844,951,74715,223,0003,044,000237,568
5Sep 29, 2021 13:565,72646,317,63616,288,0002,036,000192,512
6Sep 29, 2021 13:565,74693,769,11618,385,91602,265,088
7Sep 29, 2021 13:565,76345,881,37816,393,0002,049,000192,512
8Sep 29, 2021 13:565,77141,445,36616,416,0002,052,0002,334,720
9Sep 29, 2021 13:565,78045,660,08715,413,0003,082,0002,293,760
10Sep 29, 2021 13:565,80437,071,38917,543,0001,031,0002,297,856
11Sep 29, 2021 13:565,81188,434,00018,595,08002,285,568
12Sep 29, 2021 13:565,89037,960,56615,872,0002,976,0002,334,720