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 19, 2024 08:00Huy Duc LeHuy Duc LeScore: 5,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 08:005,48537,879,31516,520,0001,032,0002,293,760
2Feb 19, 2024 08:005,49144,255,39816,537,0001,033,0002,527,232
3Feb 19, 2024 08:005,49940,274,76817,596,00002,293,760
4Feb 19, 2024 08:005,50345,558,79517,611,00002,269,184
5Feb 19, 2024 08:005,51037,246,83016,595,0001,037,0002,514,944
6Feb 19, 2024 08:005,51146,952,08416,598,0001,037,0002,269,184
7Feb 19, 2024 08:005,51645,522,13816,614,0001,038,0002,527,232
8Feb 19, 2024 08:005,52342,781,83516,634,0001,039,0002,293,760
9Feb 19, 2024 08:005,54041,732,76916,685,0001,042,0002,293,760
10Feb 19, 2024 08:005,67588,544,10418,161,44902,306,048
11Feb 19, 2024 08:005,71169,805,20118,273,93402,301,952
12Feb 19, 2024 08:005,72286,152,48118,309,01802,183,168