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 22, 2024 13:02Huy Duc LeHuy Duc LeScore: 4,973Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:024,95141,786,21413,863,0001,980,0002,269,184
2Feb 22, 2024 13:024,95132,167,20815,843,00002,293,760
3Feb 22, 2024 13:024,95643,475,55813,878,0001,982,0002,293,760
4Feb 22, 2024 13:024,95832,493,02113,881,0001,983,0002,523,136
5Feb 22, 2024 13:024,96442,690,98515,886,00002,514,944
6Feb 22, 2024 13:024,96741,582,90413,908,0001,986,0002,273,280
7Feb 22, 2024 13:024,97342,355,29614,919,000994,0002,293,760
8Feb 22, 2024 13:024,97641,884,82413,932,0001,990,0002,527,232
9Feb 22, 2024 13:025,00148,252,18414,002,0002,000,0002,273,280
10Feb 22, 2024 13:025,21097,233,06916,670,61602,306,048
11Feb 22, 2024 13:025,214102,100,38516,683,35902,179,072
12Feb 22, 2024 13:025,22585,068,88616,718,73502,306,048