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 17:18evgenikwtevgenikwtScore: 5,279Success
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 17:185,26840,588,14716,857,00002,506,752
2Jun 5, 2021 17:185,27340,020,21816,873,00002,396,160
3Jun 5, 2021 17:185,27342,918,67516,873,00002,387,968
4Jun 5, 2021 17:185,27435,479,68015,885,000992,0002,269,184
5Jun 5, 2021 17:185,27647,327,57915,890,000993,0002,379,776
6Jun 5, 2021 17:185,27643,830,25315,891,000993,0002,383,872
7Jun 5, 2021 17:185,27946,175,08714,905,0001,987,0002,269,184
8Jun 5, 2021 17:185,27941,159,64915,901,000993,0002,265,088
9Jun 5, 2021 17:185,28041,169,56415,902,000993,0002,392,064
10Jun 5, 2021 17:185,49665,485,30917,588,57102,289,664
11Jun 5, 2021 17:185,505100,601,40617,614,48002,285,568
12Jun 5, 2021 17:185,529106,527,00017,693,62802,281,472