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 listMay 11, 2021 16:22Sergey StreminSergey StreminScore: 11,093Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 16:2110,909104,902,05634,909,34702,195,456
2May 11, 2021 16:2110,90993,841,33534,909,75602,203,648
3May 11, 2021 16:1810,932109,604,10234,982,56202,203,648
4May 11, 2021 16:2210,935120,252,19534,991,74802,199,552
5May 11, 2021 16:1810,953107,275,90135,049,14102,191,360
6May 11, 2021 16:2110,959101,828,10335,069,45502,207,744
7May 11, 2021 16:1811,03183,038,36535,299,79602,207,744
8May 11, 2021 16:1811,054101,034,94635,373,73002,191,360
9May 11, 2021 16:2211,06099,108,60535,392,61402,207,744
10May 11, 2021 16:2211,09399,909,21735,498,75202,199,552
11May 11, 2021 16:2111,114107,357,06335,564,99502,203,648
12May 11, 2021 16:1811,11799,349,60735,575,90102,199,552
13May 11, 2021 16:1811,12899,943,50535,609,98402,195,456
14May 11, 2021 16:2211,15598,396,09735,697,53202,191,360
15May 11, 2021 16:2111,18590,069,93435,792,02502,207,744
16May 11, 2021 16:2211,234100,277,88835,949,14102,211,840
17May 11, 2021 16:2211,25789,685,62536,020,95202,195,456
18May 11, 2021 16:2111,271115,429,83236,066,21602,207,744