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 listJun 19, 2023 17:35Ulyanov AlekseyUlyanov AlekseyScore: 5,691Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 17:355,65743,577,27117,097,0001,005,0002,289,664
2Jun 19, 2023 17:355,67038,910,77217,136,0001,008,0002,273,280
3Jun 19, 2023 17:355,67342,288,40917,147,0001,008,0002,273,280
4Jun 19, 2023 17:355,68142,613,07716,159,0002,019,0002,289,664
5Jun 19, 2023 17:355,68541,043,46516,170,0002,021,0002,289,664
6Jun 19, 2023 17:355,68545,119,47917,182,0001,010,0002,387,968
7Jun 19, 2023 17:355,69144,611,58916,189,0002,023,0002,289,664
8Jun 19, 2023 17:355,71344,568,03216,251,0002,031,0002,289,664
9Jun 19, 2023 17:355,72937,203,73416,296,0002,037,0002,273,280
10Jun 19, 2023 17:355,85398,207,55818,729,69002,293,760
11Jun 19, 2023 17:355,87778,593,24418,807,91902,301,952
12Jun 19, 2023 17:355,896108,184,56018,867,02102,297,856