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 18:11matsuoka-601matsuoka-601Score: 4,841Success
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 18:114,77937,318,85314,275,0001,019,0002,293,760
2Jun 9, 2024 18:114,78038,635,05813,257,0002,039,0002,293,760
3Jun 9, 2024 18:114,79232,571,19213,290,0002,044,0002,527,232
4Jun 9, 2024 18:114,80932,678,07814,364,0001,026,0002,293,760
5Jun 9, 2024 18:114,83531,105,01314,441,0001,031,0002,293,760
6Jun 9, 2024 18:114,83932,934,16114,454,0001,032,0002,531,328
7Jun 9, 2024 18:114,84132,819,07814,460,0001,032,0002,367,488
8Jun 9, 2024 18:114,85632,469,07315,538,00002,293,760
9Jun 9, 2024 18:114,92937,029,02713,801,0001,971,0002,293,760
10Jun 9, 2024 18:115,08083,688,62516,256,40702,301,952
11Jun 9, 2024 18:115,09189,541,03416,290,62102,306,048
12Jun 9, 2024 18:115,107108,291,54716,341,02402,310,144