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 9, 2024 19:51джулисджулисScore: 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
1Jun 9, 2024 19:515,35740,197,44915,126,0002,016,0002,379,776
2Jun 9, 2024 19:515,35832,484,92015,127,0002,017,0002,375,680
3Jun 9, 2024 19:515,37344,540,90516,183,0001,011,0002,375,680
4Jun 9, 2024 19:515,37436,011,30116,186,0001,011,0002,473,984
5Jun 9, 2024 19:515,38536,025,22215,205,0002,027,0002,363,392
6Jun 9, 2024 19:515,38632,295,67416,222,0001,013,0002,473,984
7Jun 9, 2024 19:515,38836,935,00216,227,0001,014,0002,363,392
8Jun 9, 2024 19:515,39636,467,92916,251,0001,015,0002,293,760
9Jun 9, 2024 19:515,41941,351,91716,320,0001,020,0002,359,296
10Jun 9, 2024 19:515,62261,296,02417,990,54902,252,800
11Jun 9, 2024 19:515,62777,472,44818,007,99302,367,488
12Jun 9, 2024 19:515,67297,230,14118,149,74702,252,800