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 4, 2021 23:39evgenikwtevgenikwtScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 23:395,27042,562,93814,880,0001,984,0002,392,064
2Jun 4, 2021 23:395,27033,998,15615,873,000992,0002,265,088
3Jun 4, 2021 23:395,27341,430,60914,888,0001,985,0002,527,232
4Jun 4, 2021 23:395,27333,104,04314,890,0001,985,0002,265,088
5Jun 4, 2021 23:395,27634,263,34214,896,0001,986,0002,392,064
6Jun 4, 2021 23:395,27740,051,42414,899,0001,986,0002,265,088
7Jun 4, 2021 23:395,30042,554,59315,963,000997,0002,265,088
8Jun 4, 2021 23:395,30338,423,05214,972,0001,996,0002,265,088
9Jun 4, 2021 23:395,31748,258,52115,013,0002,001,0002,265,088
10Jun 4, 2021 23:395,47596,483,48517,519,30302,277,376
11Jun 4, 2021 23:395,484106,267,50717,548,28802,285,568
12Jun 4, 2021 23:395,50596,470,40317,614,63302,285,568