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:23Huy Duc LeHuy Duc LeScore: 4,852Success
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:234,78532,136,59513,272,0002,041,0002,289,664
2Feb 22, 2024 13:234,80139,724,98813,314,0002,048,0002,289,664
3Feb 22, 2024 13:234,80234,241,17613,317,0002,048,0002,273,280
4Feb 22, 2024 13:234,81431,179,10613,351,0002,054,0002,289,664
5Feb 22, 2024 13:234,81530,903,98613,353,0002,054,0002,400,256
6Feb 22, 2024 13:234,81835,003,38714,389,0001,027,0002,289,664
7Feb 22, 2024 13:234,85232,244,55814,491,0001,035,0002,277,376
8Feb 22, 2024 13:234,85239,827,32615,526,00002,289,664
9Feb 22, 2024 13:234,85631,896,39214,504,0001,036,0002,285,568
10Feb 22, 2024 13:234,97859,098,70715,931,08402,183,168
11Feb 22, 2024 13:235,00572,035,11916,016,50502,174,976
12Feb 22, 2024 13:235,021106,297,16016,066,72602,183,168