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, 2024 13:49джулисджулисScore: 5,281Success
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, 2024 13:495,26946,071,80915,871,000991,0002,293,760
2Jun 13, 2024 13:495,27134,517,08414,884,0001,984,0002,367,488
3Jun 13, 2024 13:495,27340,927,25716,872,00002,293,760
4Jun 13, 2024 13:495,27442,124,21115,885,000992,0002,293,760
5Jun 13, 2024 13:495,27439,475,27214,893,0001,985,0002,293,760
6Jun 13, 2024 13:495,27644,275,23215,890,000993,0002,293,760
7Jun 13, 2024 13:495,28141,602,85914,910,0001,988,0002,371,584
8Jun 13, 2024 13:495,29631,548,23214,953,0001,993,0002,293,760
9Jun 13, 2024 13:495,29936,661,49014,963,0001,995,0002,367,488
10Jun 13, 2024 13:495,48485,127,61917,548,80002,256,896
11Jun 13, 2024 13:495,49192,644,46317,570,19902,260,992
12Jun 13, 2024 13:495,53795,051,05117,717,85502,248,704