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:05джулисджулисScore: 5,327Success
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:055,27932,332,59414,906,0001,987,0002,379,776
2Jun 9, 2024 21:055,29642,348,87714,953,0001,993,0002,359,296
3Jun 9, 2024 21:055,29647,969,49314,954,0001,993,0002,371,584
4Jun 9, 2024 21:055,30349,171,89514,973,0001,996,0002,293,760
5Jun 9, 2024 21:055,30442,252,52615,975,000998,0002,478,080
6Jun 9, 2024 21:055,32344,978,90515,029,0002,003,0002,375,680
7Jun 9, 2024 21:055,32745,071,80115,042,0002,005,0002,371,584
8Jun 9, 2024 21:055,33037,426,89016,054,0001,003,0002,371,584
9Jun 9, 2024 21:055,44245,487,28215,366,0002,048,0002,293,760
10Jun 9, 2024 21:055,57876,575,98217,850,24902,248,704
11Jun 9, 2024 21:055,70491,936,21818,254,12302,256,896
12Jun 9, 2024 21:055,77668,578,07818,481,79502,256,896