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:29Huy Duc LeHuy Duc LeScore: 4,891Success
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:294,84733,906,06314,477,0001,034,0002,289,664
2Feb 22, 2024 13:294,85732,224,70214,507,0001,036,0002,269,184
3Feb 22, 2024 13:294,86643,924,14715,572,00002,289,664
4Feb 22, 2024 13:294,87043,105,05014,545,0001,038,0002,523,136
5Feb 22, 2024 13:294,88237,131,54415,622,00002,289,664
6Feb 22, 2024 13:294,88532,720,40214,590,0001,042,0002,269,184
7Feb 22, 2024 13:294,89136,318,22114,608,0001,043,0002,289,664
8Feb 22, 2024 13:294,90041,462,15214,635,0001,045,0002,273,280
9Feb 22, 2024 13:294,91343,187,03515,723,00002,289,664
10Feb 22, 2024 13:295,05079,895,78716,158,90002,301,952
11Feb 22, 2024 13:295,06680,601,17116,210,55902,174,976
12Feb 22, 2024 13:295,11880,813,14016,378,57902,306,048