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 27, 2024 20:55Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 20:555,45785,853,14917,461,29502,289,664
2Feb 27, 2024 20:555,48680,934,57117,554,71502,240,512
3Feb 27, 2024 20:555,49864,395,91617,594,05602,252,800
4Feb 27, 2024 20:555,58244,042,04216,812,0001,050,0002,281,472
5Feb 27, 2024 20:555,58348,292,42315,881,0001,985,0002,400,256
6Feb 27, 2024 20:555,59247,655,87116,901,000994,0002,523,136
7Feb 27, 2024 20:555,59342,875,41916,904,000994,0002,281,472
8Feb 27, 2024 20:555,59540,967,79416,910,000994,0002,281,472
9Feb 27, 2024 20:555,60342,709,17715,939,0001,992,0002,281,472
10Feb 27, 2024 20:555,61141,443,78115,961,0001,995,0002,281,472
11Feb 27, 2024 20:555,61544,807,55715,972,0001,996,0002,281,472
12Feb 27, 2024 20:555,62842,804,35316,009,0002,001,0002,281,472