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 16, 2022 15:10Franek KortaFranek KortaScore: 5,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 20:375,63698,962,12618,036,70702,174,976
2Jul 16, 2022 15:135,63686,896,66418,034,52502,297,856
3Jul 16, 2022 15:105,63864,640,03218,041,70402,297,856
4Jul 16, 2022 15:105,64678,986,25718,066,38102,297,856
5Jul 16, 2022 17:465,64671,258,51418,066,05102,297,856
6Jul 16, 2022 15:115,65280,745,77518,086,94602,289,664
7Jul 16, 2022 17:465,65379,484,73518,089,14902,297,856
8Jul 16, 2022 15:115,65479,807,44618,094,27202,289,664
9Jul 16, 2022 20:375,65471,781,69618,091,87302,297,856
10Jul 16, 2022 15:135,65586,335,19418,095,43202,297,856
11Jul 16, 2022 15:105,66086,490,28518,113,17102,293,760
12Jul 16, 2022 17:575,66293,054,00618,117,48702,297,856
13Jul 16, 2022 17:465,66775,390,67418,134,21802,252,800
14Jul 16, 2022 15:115,67063,714,40418,142,87302,297,856
15Jul 16, 2022 17:575,67170,366,09518,146,54302,297,856
16Jul 16, 2022 20:375,67588,294,09318,160,30702,306,048
17Jul 16, 2022 15:135,67795,877,57918,167,38302,297,856
18Jul 16, 2022 17:575,69893,606,47518,233,38402,293,760