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:03evgenikwtevgenikwtScore: 5,305Success
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:035,27744,876,17815,893,000993,0002,396,160
2Jun 13, 2021 22:035,27840,373,41514,903,0001,987,0002,265,088
3Jun 13, 2021 22:035,27846,763,52814,904,0001,987,0002,383,872
4Jun 13, 2021 22:035,28040,943,05815,902,000993,0002,387,968
5Jun 13, 2021 22:035,28846,103,93615,864,0001,057,0002,265,088
6Jun 13, 2021 22:035,29943,750,64914,962,0001,994,0002,383,872
7Jun 13, 2021 22:035,30544,112,48514,979,0001,997,0002,265,088
8Jun 13, 2021 22:035,31746,142,29716,014,0001,000,0002,265,088
9Jun 13, 2021 22:035,32840,524,48815,045,0002,006,0002,523,136
10Jun 13, 2021 22:035,50988,083,03417,629,53402,289,664
11Jun 13, 2021 22:035,52266,395,33917,670,04402,277,376
12Jun 13, 2021 22:035,53089,068,47817,696,21602,273,280