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:16Andrew MoonAndrew MoonScore: 5,468Success
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:165,41532,689,95115,289,0002,038,0002,387,968
2Jul 8, 2023 16:165,42248,292,95315,308,0002,041,0002,387,968
3Jul 8, 2023 16:165,42739,955,24216,346,0001,021,0002,392,064
4Jul 8, 2023 16:165,43840,374,31114,332,0003,071,0002,519,040
5Jul 8, 2023 16:165,44148,635,15216,387,0001,024,0002,387,968
6Jul 8, 2023 16:165,45132,483,38917,444,00002,383,872
7Jul 8, 2023 16:165,46835,821,65214,411,0003,088,0002,519,040
8Jul 8, 2023 16:165,48242,693,04016,511,0001,031,0002,392,064
9Jul 8, 2023 16:165,48540,855,94816,520,0001,032,0002,519,040
10Jul 8, 2023 16:165,68583,007,41618,193,09302,269,184
11Jul 8, 2023 16:165,68977,540,51918,203,90702,240,512
12Jul 8, 2023 16:165,71767,852,14018,292,86102,277,376