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 19, 2024 09:49Matt StuchlikMatt StuchlikScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 09:495,32742,556,94116,043,0001,002,0002,273,280
2Jul 19, 2024 09:495,32736,418,89715,042,0002,005,0002,265,088
3Jul 19, 2024 09:495,34838,407,28716,107,0001,006,0002,289,664
4Jul 19, 2024 09:495,35240,332,58715,112,0002,015,0002,277,376
5Jul 19, 2024 09:495,35534,580,22116,129,0001,008,0002,523,136
6Jul 19, 2024 09:495,36036,120,50016,144,0001,009,0002,375,680
7Jul 19, 2024 09:495,36334,460,97516,152,0001,009,0002,281,472
8Jul 19, 2024 09:495,36338,257,25415,142,0002,019,0002,289,664
9Jul 19, 2024 09:495,37450,944,54815,174,0002,023,0002,289,664
10Jul 19, 2024 09:495,61267,395,05417,958,42502,301,952
11Jul 19, 2024 09:495,63089,788,25418,014,81902,306,048
12Jul 19, 2024 09:495,63677,841,17518,034,46402,293,760