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 21:45джулисджулисScore: 5,339Success
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 21:455,30943,634,40014,991,0001,998,0002,293,760
2Jun 9, 2024 21:455,31034,508,84914,994,0001,999,0002,367,488
3Jun 9, 2024 21:455,32935,421,63515,047,0002,006,0002,371,584
4Jun 9, 2024 21:455,33033,878,13915,049,0002,006,0002,293,760
5Jun 9, 2024 21:455,33640,535,87516,070,0001,004,0002,375,680
6Jun 9, 2024 21:455,33743,515,79715,068,0002,009,0002,379,776
7Jun 9, 2024 21:455,33943,760,99516,080,0001,005,0002,293,760
8Jun 9, 2024 21:455,34138,583,69216,087,0001,005,0002,375,680
9Jun 9, 2024 21:455,34438,643,18017,101,00002,293,760
10Jun 9, 2024 21:455,629109,987,36818,011,92402,252,800
11Jun 9, 2024 21:455,67785,259,91018,166,08402,236,416
12Jun 9, 2024 21:455,69473,375,71918,221,46702,260,992