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 10:05Matt StuchlikMatt StuchlikScore: 5,451Success
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 10:055,39634,667,47015,236,0002,031,0002,265,088
2Jul 19, 2024 10:055,40338,628,15315,257,0002,034,0002,519,040
3Jul 19, 2024 10:055,42844,054,35016,348,0001,021,0002,289,664
4Jul 19, 2024 10:055,42836,588,83815,327,0002,043,0002,289,664
5Jul 19, 2024 10:055,43044,845,00016,353,0001,022,0002,289,664
6Jul 19, 2024 10:055,44940,921,44816,411,0001,025,0002,269,184
7Jul 19, 2024 10:055,45138,715,32016,417,0001,026,0002,523,136
8Jul 19, 2024 10:055,46638,837,15616,462,0001,028,0002,289,664
9Jul 19, 2024 10:055,49342,214,35615,510,0002,068,0002,289,664
10Jul 19, 2024 10:055,69678,394,13218,225,61502,306,048
11Jul 19, 2024 10:055,71590,249,01618,289,47702,179,072
12Jul 19, 2024 10:055,72378,932,10418,312,32602,306,048