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 8, 2021 18:25evgenikwtevgenikwtScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 18:255,23141,101,61915,693,0001,046,0002,269,184
2Jun 8, 2021 18:255,26243,250,68715,847,000990,0002,265,088
3Jun 8, 2021 18:255,26948,661,66215,869,000991,0002,265,088
4Jun 8, 2021 18:255,27150,660,29815,876,000992,0002,265,088
5Jun 8, 2021 18:255,27447,394,00514,891,0001,985,0002,527,232
6Jun 8, 2021 18:255,28032,439,15515,903,000993,0002,265,088
7Jun 8, 2021 18:255,28241,902,84214,913,0001,988,0002,265,088
8Jun 8, 2021 18:255,28343,637,14015,849,0001,056,0002,265,088
9Jun 8, 2021 18:255,28536,035,94215,918,000994,0002,265,088
10Jun 8, 2021 18:255,46581,080,92617,488,12502,277,376
11Jun 8, 2021 18:255,47162,951,86317,508,19002,277,376
12Jun 8, 2021 18:255,48277,541,73217,542,43602,289,664