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 5, 2021 04:48evgenikwtevgenikwtScore: 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 5, 2021 04:485,27230,471,36014,887,0001,984,0002,379,776
2Jun 5, 2021 04:485,27932,905,48115,901,000993,0002,396,160
3Jun 5, 2021 04:485,28133,220,59614,911,0001,988,0002,523,136
4Jun 5, 2021 04:485,29636,406,76615,950,000996,0002,265,088
5Jun 5, 2021 04:485,29632,659,85214,954,0001,993,0002,265,088
6Jun 5, 2021 04:485,29946,985,17215,959,000997,0002,265,088
7Jun 5, 2021 04:485,30044,165,72614,964,0001,995,0002,265,088
8Jun 5, 2021 04:485,30142,770,85214,968,0001,995,0002,265,088
9Jun 5, 2021 04:485,30747,991,16814,985,0001,998,0002,265,088
10Jun 5, 2021 04:485,47084,969,43817,505,48702,244,608
11Jun 5, 2021 04:485,48690,626,07317,556,07402,273,280
12Jun 5, 2021 04:485,50283,274,77417,605,11302,285,568