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 23, 2023 09:12DarkclainerDarkclainerScore: 5,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 09:125,27242,220,58516,870,00002,383,872
2Feb 23, 2023 09:125,27334,893,77216,872,00002,269,184
3Feb 23, 2023 09:125,27441,794,66914,893,0001,985,0002,269,184
4Feb 23, 2023 09:125,27531,434,12815,887,000992,0002,383,872
5Feb 23, 2023 09:125,28646,138,50714,925,0001,990,0002,371,584
6Feb 23, 2023 09:125,29843,233,51014,959,0001,994,0002,379,776
7Feb 23, 2023 09:125,31642,538,89415,010,0002,001,0002,531,328
8Feb 23, 2023 09:125,31843,391,05615,015,0002,002,0002,527,232
9Feb 23, 2023 09:125,32142,228,19015,023,0002,003,0002,531,328
10Feb 23, 2023 09:125,50086,843,06817,600,74002,256,896
11Feb 23, 2023 09:125,52197,497,42317,665,61202,248,704
12Feb 23, 2023 09:125,54186,996,62417,730,13702,252,800