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 10:08DarkclainerDarkclainerScore: 4,963Success
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 10:084,87931,689,76215,613,00002,379,776
2Feb 27, 2023 10:084,88533,176,71415,631,00002,269,184
3Feb 27, 2023 10:084,89035,833,00814,606,0001,043,0002,531,328
4Feb 27, 2023 10:084,89344,329,91615,658,00002,265,088
5Feb 27, 2023 10:084,91332,024,32414,673,0001,048,0002,383,872
6Feb 27, 2023 10:084,92635,588,37214,713,0001,050,0002,531,328
7Feb 27, 2023 10:084,96343,150,62215,881,00002,486,272
8Feb 27, 2023 10:084,96542,129,72014,896,000993,0002,531,328
9Feb 27, 2023 10:084,96745,229,60514,902,000993,0002,269,184
10Feb 27, 2023 10:085,11184,782,27016,356,48702,240,512
11Feb 27, 2023 10:085,12087,282,62516,383,47402,248,704
12Feb 27, 2023 10:085,14788,490,05116,469,71902,244,608