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: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 8, 2021 18:325,22543,385,86615,676,0001,045,0002,265,088
2Jun 8, 2021 18:325,27243,342,33815,877,000992,0002,269,184
3Jun 8, 2021 18:325,27345,443,00115,881,000992,0002,392,064
4Jun 8, 2021 18:325,27639,192,42014,897,0001,986,0002,527,232
5Jun 8, 2021 18:325,27732,867,20315,892,000993,0002,506,752
6Jun 8, 2021 18:325,28233,215,51014,914,0001,988,0002,265,088
7Jun 8, 2021 18:325,28435,793,02615,914,000994,0002,387,968
8Jun 8, 2021 18:325,28443,650,75014,921,0001,989,0002,379,776
9Jun 8, 2021 18:325,28842,320,95615,927,000995,0002,265,088
10Jun 8, 2021 18:325,45164,547,22117,442,34502,281,472
11Jun 8, 2021 18:325,46577,460,31817,486,75802,277,376
12Jun 8, 2021 18:325,48681,044,83417,555,35102,277,376