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 listMar 17, 2024 00:37KonstantinKonstantinScore: 5,369Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2024 00:375,33244,251,23415,056,0002,007,0002,265,088
2Mar 17, 2024 00:375,34441,585,81916,095,0001,005,0002,387,968
3Mar 17, 2024 00:375,34544,167,24215,091,0002,012,0002,396,160
4Mar 17, 2024 00:375,34947,887,84415,104,0002,013,0002,387,968
5Mar 17, 2024 00:375,34943,655,27115,104,0002,013,0002,265,088
6Mar 17, 2024 00:375,36539,348,86715,149,0002,019,0002,527,232
7Mar 17, 2024 00:375,36947,048,09515,159,0002,021,0002,387,968
8Mar 17, 2024 00:375,37234,366,53816,179,0001,011,0002,392,064
9Mar 17, 2024 00:375,37343,337,95716,183,0001,011,0002,265,088
10Mar 17, 2024 00:375,54367,380,43917,737,19402,281,472
11Mar 17, 2024 00:375,55462,659,35117,773,78802,281,472
12Mar 17, 2024 00:375,58763,094,64417,878,66302,285,568