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:02Huy Duc LeHuy Duc LeScore: 5,506Success
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:025,46839,337,85516,470,0001,029,0002,293,760
2Feb 19, 2024 08:025,48838,495,32216,530,0001,033,0002,527,232
3Feb 19, 2024 08:025,49443,260,16416,546,0001,034,0002,293,760
4Feb 19, 2024 08:025,49541,438,86517,583,00002,273,280
5Feb 19, 2024 08:025,50145,489,87516,568,0001,035,0002,293,760
6Feb 19, 2024 08:025,50246,235,39917,607,00002,293,760
7Feb 19, 2024 08:025,50649,230,03616,582,0001,036,0002,273,280
8Feb 19, 2024 08:025,53034,982,02916,656,0001,041,0002,289,664
9Feb 19, 2024 08:025,57434,652,88516,847,000991,0002,293,760
10Feb 19, 2024 08:025,69676,543,71118,227,39102,306,048
11Feb 19, 2024 08:025,70190,439,86718,243,40302,297,856
12Feb 19, 2024 08:025,71973,092,29018,301,79502,187,264