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 21, 2023 13:43DarkclainerDarkclainerScore: 5,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 13:435,72740,361,99217,307,0001,018,0002,269,184
2Feb 21, 2023 13:435,72941,704,57018,333,00002,371,584
3Feb 21, 2023 13:435,73245,156,83818,341,00002,371,584
4Feb 21, 2023 13:435,74447,325,10517,359,0001,021,0002,531,328
5Feb 21, 2023 13:435,76239,099,58917,414,0001,024,0002,375,680
6Feb 21, 2023 13:435,76635,079,22818,451,00002,531,328
7Feb 21, 2023 13:435,77842,057,50218,488,00002,375,680
8Feb 21, 2023 13:435,77837,565,91417,463,0001,027,0002,375,680
9Feb 21, 2023 13:435,78141,617,01917,471,0001,027,0002,383,872
10Feb 21, 2023 13:435,95193,796,88219,042,23402,260,992
11Feb 21, 2023 13:435,95880,901,17219,064,76102,248,704
12Feb 21, 2023 13:435,98691,824,31219,156,16802,256,896