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 28, 2024 04:48Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:485,46497,143,02817,485,41402,285,568
2Feb 28, 2024 04:485,49462,705,87417,581,16202,301,952
3Feb 28, 2024 04:485,53374,137,60717,705,81902,293,760
4Feb 28, 2024 04:485,57343,430,71616,845,000990,0002,396,160
5Feb 28, 2024 04:485,58150,225,01417,858,00002,281,472
6Feb 28, 2024 04:485,58645,433,89815,889,0001,986,0002,404,352
7Feb 28, 2024 04:485,58740,310,88616,886,000993,0002,281,472
8Feb 28, 2024 04:485,59347,642,88716,904,000994,0002,281,472
9Feb 28, 2024 04:485,59843,723,67716,918,000995,0002,400,256
10Feb 28, 2024 04:485,60541,598,86215,943,0001,992,0002,396,160
11Feb 28, 2024 04:485,61035,173,19616,954,000997,0002,404,352
12Feb 28, 2024 04:485,61649,766,18916,972,000998,0002,396,160