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 16:32evgenikwtevgenikwtScore: 5,284Success
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 16:325,26844,700,13614,876,0001,983,0002,265,088
2Jun 5, 2021 16:325,27135,396,74315,874,000992,0002,396,160
3Jun 5, 2021 16:325,27251,737,03015,879,000992,0002,265,088
4Jun 5, 2021 16:325,27341,270,73414,887,0001,985,0002,265,088
5Jun 5, 2021 16:325,27333,205,46716,873,00002,265,088
6Jun 5, 2021 16:325,27644,789,12615,889,000993,0002,375,680
7Jun 5, 2021 16:325,28446,389,64315,915,000994,0002,392,064
8Jun 5, 2021 16:325,29543,355,22414,951,0001,993,0002,527,232
9Jun 5, 2021 16:325,30145,363,80915,967,000997,0002,265,088
10Jun 5, 2021 16:325,47365,208,52917,512,72002,277,376
11Jun 5, 2021 16:325,47582,657,50217,519,34102,289,664
12Jun 5, 2021 16:325,51282,865,69017,637,49802,244,608