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 12:25Huy Duc LeHuy Duc LeScore: 5,502Success
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 12:255,47445,218,01916,486,0001,030,0002,293,760
2Feb 22, 2024 12:255,47433,108,92916,487,0001,030,0002,293,760
3Feb 22, 2024 12:255,48044,401,84016,504,0001,031,0002,293,760
4Feb 22, 2024 12:255,48737,069,86316,526,0001,032,0002,523,136
5Feb 22, 2024 12:255,48839,614,96916,530,0001,033,0002,293,760
6Feb 22, 2024 12:255,49841,093,90416,559,0001,034,0002,273,280
7Feb 22, 2024 12:255,50239,368,05616,571,0001,035,0002,527,232
8Feb 22, 2024 12:255,50343,417,24716,574,0001,035,0002,531,328
9Feb 22, 2024 12:255,50746,101,62016,586,0001,036,0002,293,760
10Feb 22, 2024 12:255,69194,018,97418,211,17002,301,952
11Feb 22, 2024 12:255,69785,794,55518,229,50402,301,952
12Feb 22, 2024 12:255,73288,755,62318,342,47902,285,568