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 02:19evgenikwtevgenikwtScore: 5,280Success
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 02:195,23747,073,29115,710,0001,047,0002,265,088
2Jun 8, 2021 02:195,26841,930,67514,873,0001,983,0002,527,232
3Jun 8, 2021 02:195,27040,044,17215,873,000992,0002,265,088
4Jun 8, 2021 02:195,27245,226,83214,886,0001,984,0002,383,872
5Jun 8, 2021 02:195,27237,916,58516,870,00002,265,088
6Jun 8, 2021 02:195,27640,461,88715,891,000993,0002,379,776
7Jun 8, 2021 02:195,28044,584,90115,902,000993,0002,265,088
8Jun 8, 2021 02:195,28843,372,20314,930,0001,990,0002,265,088
9Jun 8, 2021 02:195,29145,432,17815,872,0001,058,0002,265,088
10Jun 8, 2021 02:195,44675,649,31517,427,22102,281,472
11Jun 8, 2021 02:195,47859,582,55417,531,10202,289,664
12Jun 8, 2021 02:195,48271,778,36517,541,95302,281,472