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 16, 2023 19:26Ulyanov AlekseyUlyanov AlekseyScore: 5,803Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 19:265,74446,762,41317,361,0001,021,0002,289,664
2Jun 16, 2023 19:265,75749,470,26817,399,0001,023,0002,289,664
3Jun 16, 2023 19:265,78339,992,70818,505,00002,531,328
4Jun 16, 2023 19:265,79342,052,58318,538,00002,273,280
5Jun 16, 2023 19:265,79540,750,08917,513,0001,030,0002,289,664
6Jun 16, 2023 19:265,79541,179,98717,515,0001,030,0002,269,184
7Jun 16, 2023 19:265,80347,620,66618,568,00002,289,664
8Jun 16, 2023 19:265,80843,360,17918,586,00002,289,664
9Jun 16, 2023 19:265,82552,560,20817,604,0001,035,0002,289,664
10Jun 16, 2023 19:265,95791,695,26219,063,48502,297,856
11Jun 16, 2023 19:265,95988,954,17219,067,68402,293,760
12Jun 16, 2023 19:265,96586,336,19319,086,45602,297,856