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 8, 2023 16:23Andrew MoonAndrew MoonScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 16:235,22936,018,48016,733,00002,387,968
2Jul 8, 2023 16:235,26542,573,24715,857,000991,0002,396,160
3Jul 8, 2023 16:235,27138,036,35115,876,000992,0002,387,968
4Jul 8, 2023 16:235,27343,972,32114,890,0001,985,0002,387,968
5Jul 8, 2023 16:235,27432,550,67415,884,000992,0002,392,064
6Jul 8, 2023 16:235,27446,748,36514,891,0001,985,0002,387,968
7Jul 8, 2023 16:235,27634,147,96214,897,0001,986,0002,387,968
8Jul 8, 2023 16:235,27837,039,76114,904,0001,987,0002,265,088
9Jul 8, 2023 16:235,27952,227,24215,899,000993,0002,265,088
10Jul 8, 2023 16:235,44996,770,88517,436,83602,240,512
11Jul 8, 2023 16:235,467100,920,45717,494,45702,269,184
12Jul 8, 2023 16:235,48688,609,33317,554,48102,269,184