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 15, 2023 00:20LiamLiamScore: 5,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2023 00:205,58642,466,03415,889,0001,986,0002,285,568
2Feb 15, 2023 00:205,58847,029,33313,907,0003,973,0002,285,568
3Feb 15, 2023 00:205,59049,998,25015,900,0001,987,0002,285,568
4Feb 15, 2023 00:205,59047,308,77816,894,000993,0002,285,568
5Feb 15, 2023 00:205,59540,748,26715,914,0001,989,0002,285,568
6Feb 15, 2023 00:205,59935,683,69315,926,0001,990,0002,281,472
7Feb 15, 2023 00:205,61737,398,13315,978,0001,997,0002,387,968
8Feb 15, 2023 00:205,61843,851,76814,982,0002,996,0002,273,280
9Feb 15, 2023 00:205,62342,197,25915,996,0001,999,0002,281,472
10Feb 15, 2023 00:205,74983,342,82618,397,22502,297,856
11Feb 15, 2023 00:205,755103,744,85818,414,57302,297,856
12Feb 15, 2023 00:205,78392,146,24418,504,72302,174,976