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 13, 2021 22:13evgenikwtevgenikwtScore: 5,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 22:135,27447,990,14015,885,000992,0002,387,968
2Jun 13, 2021 22:135,27430,288,51814,893,0001,985,0002,396,160
3Jun 13, 2021 22:135,27842,287,55215,898,000993,0002,396,160
4Jun 13, 2021 22:135,28442,031,01116,908,00002,506,752
5Jun 13, 2021 22:135,28443,572,25614,921,0001,989,0002,265,088
6Jun 13, 2021 22:135,29545,337,19414,951,0001,993,0002,265,088
7Jun 13, 2021 22:135,31145,259,80015,996,000999,0002,383,872
8Jun 13, 2021 22:135,31838,809,95015,017,0002,002,0002,383,872
9Jun 13, 2021 22:135,32234,353,72516,029,0001,001,0002,265,088
10Jun 13, 2021 22:135,48385,854,52517,545,96302,285,568
11Jun 13, 2021 22:135,48782,158,07817,557,06302,285,568
12Jun 13, 2021 22:135,51289,151,08817,638,14102,281,472