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 10:40Andrew MoonAndrew MoonScore: 5,388Success
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 10:405,35644,766,26016,131,0001,008,0002,265,088
2Jul 8, 2023 10:405,35833,148,65916,138,0001,008,0002,396,160
3Jul 8, 2023 10:405,36744,631,58516,165,0001,010,0002,392,064
4Jul 8, 2023 10:405,37046,541,79615,163,0002,021,0002,396,160
5Jul 8, 2023 10:405,37340,024,86516,184,0001,011,0002,506,752
6Jul 8, 2023 10:405,37839,565,66115,186,0002,024,0002,392,064
7Jul 8, 2023 10:405,38840,137,43316,226,0001,014,0002,265,088
8Jul 8, 2023 10:405,38944,758,45216,232,0001,014,0002,265,088
9Jul 8, 2023 10:405,39641,390,33615,235,0002,031,0002,510,848
10Jul 8, 2023 10:405,59852,755,22817,913,54102,281,472
11Jul 8, 2023 10:405,60091,379,52417,919,23502,244,608
12Jul 8, 2023 10:405,60586,959,02617,937,42902,240,512