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 28, 2024 03:40Chris ScarboroughChris ScarboroughScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 03:405,29041,168,08814,937,0001,991,0002,400,256
2Jul 28, 2024 03:405,29634,377,75115,950,000996,0002,383,872
3Jul 28, 2024 03:405,29842,967,54814,959,0001,994,0002,265,088
4Jul 28, 2024 03:405,29947,486,23714,963,0001,995,0002,265,088
5Jul 28, 2024 03:405,30745,215,34515,984,000999,0002,387,968
6Jul 28, 2024 03:405,31542,018,81416,008,0001,000,0002,392,064
7Jul 28, 2024 03:405,32644,044,57415,039,0002,005,0002,392,064
8Jul 28, 2024 03:405,32834,666,19016,047,0001,002,0002,387,968
9Jul 28, 2024 03:405,32936,015,42515,046,0002,006,0002,392,064
10Jul 28, 2024 03:405,53063,428,40317,696,50702,281,472
11Jul 28, 2024 03:405,53279,777,55617,703,69502,240,512
12Jul 28, 2024 03:405,58072,643,67017,855,12702,281,472