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:07Huy Duc LeHuy Duc LeScore: 4,970Success
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:074,94844,254,70813,853,0001,979,0002,273,280
2Feb 22, 2024 13:074,95143,382,78613,864,0001,980,0002,289,664
3Feb 22, 2024 13:074,95934,669,05413,885,0001,983,0002,273,280
4Feb 22, 2024 13:074,96335,400,79413,896,0001,985,0002,289,664
5Feb 22, 2024 13:074,96446,176,91014,894,000992,0002,289,664
6Feb 22, 2024 13:074,96636,084,83713,904,0001,986,0002,289,664
7Feb 22, 2024 13:074,97041,205,97213,917,0001,988,0002,379,776
8Feb 22, 2024 13:074,97931,619,94515,933,00002,289,664
9Feb 22, 2024 13:074,98545,575,55114,955,000997,0002,277,376
10Feb 22, 2024 13:075,166101,800,47816,532,60102,183,168
11Feb 22, 2024 13:075,17275,666,16616,551,51102,179,072
12Feb 22, 2024 13:075,19965,716,01816,638,03702,293,760