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 listFeb 27, 2023 17:09DarkclainerDarkclainerScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 17:095,42539,615,24416,338,0001,021,0002,371,584
2Feb 27, 2023 17:095,44147,557,76217,412,00002,269,184
3Feb 27, 2023 17:095,44343,897,68517,417,00002,531,328
4Feb 27, 2023 17:095,44543,923,34216,399,0001,024,0002,383,872
5Feb 27, 2023 17:095,46241,542,75916,450,0001,028,0002,269,184
6Feb 27, 2023 17:095,46540,602,59116,461,0001,028,0002,383,872
7Feb 27, 2023 17:095,46936,045,36616,473,0001,029,0002,265,088
8Feb 27, 2023 17:095,48140,634,43116,509,0001,031,0002,375,680
9Feb 27, 2023 17:095,48238,131,56316,510,0001,031,0002,531,328
10Feb 27, 2023 17:095,59566,431,94817,905,04402,252,800
11Feb 27, 2023 17:095,59895,863,16917,914,29002,248,704
12Feb 27, 2023 17:095,62372,228,95617,993,63802,240,512