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 24, 2022 11:48Robert BurkeRobert BurkeScore: 4,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:484,43328,990,17412,161,0002,026,0002,281,472
2Jul 24, 2022 11:484,44238,479,03712,185,0002,030,0002,453,504
3Jul 24, 2022 11:484,44836,212,21712,202,0002,033,0002,281,472
4Jul 24, 2022 11:484,45033,957,13412,207,0002,034,0002,281,472
5Jul 24, 2022 11:484,45430,653,98014,252,00002,281,472
6Jul 24, 2022 11:484,45431,024,42912,218,0002,036,0002,281,472
7Jul 24, 2022 11:484,45536,014,75614,256,00002,281,472
8Jul 24, 2022 11:484,47231,263,32412,266,0002,044,0002,449,408
9Jul 24, 2022 11:484,47430,443,50612,271,0002,045,0002,281,472
10Jul 24, 2022 11:484,63477,962,16514,827,84502,203,648
11Jul 24, 2022 11:484,69775,548,26115,029,78502,199,552
12Jul 24, 2022 11:484,72795,431,77115,126,30702,207,744