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 29, 2024 06:49Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 29, 2024 06:495,61089,852,05317,952,03102,179,072
2Feb 29, 2024 06:495,63378,711,65818,024,48102,297,856
3Feb 29, 2024 06:495,64483,676,93018,060,40302,306,048
4Feb 29, 2024 06:495,66645,339,47618,132,00002,277,376
5Feb 29, 2024 06:495,68640,913,16916,173,0002,021,0002,293,760
6Feb 29, 2024 06:495,70539,623,05416,227,0002,028,0002,273,280
7Feb 29, 2024 06:495,70839,789,45816,236,0002,029,0002,293,760
8Feb 29, 2024 06:495,71239,254,73916,248,0002,031,0002,273,280
9Feb 29, 2024 06:495,71843,627,93716,266,0002,033,0002,273,280
10Feb 29, 2024 06:495,72139,973,26516,274,0002,034,0002,293,760
11Feb 29, 2024 06:495,73539,959,19716,313,0002,039,0002,535,424
12Feb 29, 2024 06:495,75550,564,22716,369,0002,046,0002,273,280