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 15, 2024 17:44ii14ii14Score: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:445,74642,161,70618,388,00002,383,872
2Jun 15, 2024 17:445,75536,362,46315,347,0003,069,0002,519,040
3Jun 15, 2024 17:445,76537,360,36218,449,00002,519,040
4Jun 15, 2024 17:445,77144,001,01718,466,00002,519,040
5Jun 15, 2024 17:445,77344,028,16818,473,00002,379,776
6Jun 15, 2024 17:445,77743,489,05217,459,0001,027,0002,523,136
7Jun 15, 2024 17:445,78044,946,61417,468,0001,027,0002,387,968
8Jun 15, 2024 17:445,79038,435,09218,527,00002,523,136
9Jun 15, 2024 17:445,80345,383,99117,537,0001,031,0002,519,040
10Jun 15, 2024 17:446,01687,338,87619,251,81802,310,144
11Jun 15, 2024 17:446,05779,180,03919,380,98302,285,568
12Jun 15, 2024 17:446,06390,293,50419,400,76002,285,568