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:20evgenikwtevgenikwtScore: 5,297Success
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:205,26445,287,72115,854,000990,0002,265,088
2Jun 8, 2021 02:205,27044,609,23016,865,00002,265,088
3Jun 8, 2021 02:205,27635,074,80814,896,0001,986,0002,392,064
4Jun 8, 2021 02:205,27640,688,36515,891,000993,0002,396,160
5Jun 8, 2021 02:205,27732,454,42314,901,0001,986,0002,265,088
6Jun 8, 2021 02:205,28742,361,25015,922,000995,0002,527,232
7Jun 8, 2021 02:205,29734,373,37014,956,0001,994,0002,265,088
8Jun 8, 2021 02:205,30334,428,17814,974,0001,996,0002,265,088
9Jun 8, 2021 02:205,30845,174,08814,986,0001,998,0002,379,776
10Jun 8, 2021 02:205,45181,379,90917,442,46002,281,472
11Jun 8, 2021 02:205,46786,775,47017,493,88702,244,608
12Jun 8, 2021 02:205,49385,487,65717,579,16102,281,472