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 listJun 13, 2021 10:47Dmitry DolgopolovDmitry DolgopolovScore: 4,970Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:474,95431,352,98014,863,000990,0002,441,216
2Jun 13, 2021 10:474,95531,728,89713,874,0001,982,0002,269,184
3Jun 13, 2021 10:474,95928,708,73213,885,0001,983,0002,449,408
4Jun 13, 2021 10:474,96032,038,53113,888,0001,984,0002,445,312
5Jun 13, 2021 10:474,96342,582,60814,890,000992,0002,269,184
6Jun 13, 2021 10:474,96643,395,28513,906,0001,986,0002,449,408
7Jun 13, 2021 10:474,97031,464,82914,844,0001,060,0002,531,328
8Jun 13, 2021 10:474,98038,981,00313,944,0001,992,0002,265,088
9Jun 13, 2021 10:474,99033,722,01813,973,0001,996,0002,269,184
10Jun 13, 2021 10:475,17870,623,46716,570,17402,199,552
11Jun 13, 2021 10:475,19262,785,66116,615,66902,207,744
12Jun 13, 2021 10:475,22070,259,26516,703,49802,199,552