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:32Huy Duc LeHuy Duc LeScore: 4,655Success
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:324,60042,483,74013,668,0001,051,0002,387,968
2Feb 22, 2024 13:324,64635,498,21112,884,0001,982,0002,396,160
3Feb 22, 2024 13:324,64831,378,96112,892,0001,983,0002,510,848
4Feb 22, 2024 13:324,64945,476,18412,894,0001,983,0002,387,968
5Feb 22, 2024 13:324,65130,304,33913,892,000992,0002,392,064
6Feb 22, 2024 13:324,65245,551,93213,894,000992,0002,392,064
7Feb 22, 2024 13:324,65533,369,67913,903,000993,0002,387,968
8Feb 22, 2024 13:324,66543,048,30012,939,0001,990,0002,265,088
9Feb 22, 2024 13:324,68332,524,55613,986,000999,0002,461,696
10Feb 22, 2024 13:324,87381,361,05315,592,53002,285,568
11Feb 22, 2024 13:324,87974,385,12615,613,17902,285,568
12Feb 22, 2024 13:324,90584,112,04515,695,74702,289,664