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:57джулисджулисScore: 5,318Success
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:575,27833,984,98714,903,0001,987,0002,293,760
2Jun 9, 2024 19:575,29745,196,54715,954,000997,0002,371,584
3Jun 9, 2024 19:575,30041,615,48115,963,000997,0002,293,760
4Jun 9, 2024 19:575,30433,754,84715,976,000998,0002,478,080
5Jun 9, 2024 19:575,30544,183,50114,979,0001,997,0002,293,760
6Jun 9, 2024 19:575,31232,275,02314,999,0001,999,0002,293,760
7Jun 9, 2024 19:575,31841,545,41015,015,0002,002,0002,375,680
8Jun 9, 2024 19:575,34442,158,06815,089,0002,011,0002,375,680
9Jun 9, 2024 19:575,35044,658,42915,107,0002,014,0002,469,888
10Jun 9, 2024 19:575,57369,268,07417,833,87802,244,608
11Jun 9, 2024 19:575,60288,550,90717,927,29502,252,800
12Jun 9, 2024 19:575,70959,971,62418,267,56902,252,800