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 17, 2023 22:29Ulyanov AlekseyUlyanov AlekseyScore: 8,876Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:296,07484,831,14519,438,33302,306,048
2Jun 17, 2023 22:296,12782,474,07619,607,27002,297,856
3Jun 17, 2023 22:296,128107,540,56919,610,11802,301,952
4Jun 17, 2023 22:298,85949,361,64421,263,0007,087,0002,326,528
5Jun 17, 2023 22:298,86153,407,41818,229,00010,127,0002,375,680
6Jun 17, 2023 22:298,87049,370,02121,288,0007,096,0002,310,144
7Jun 17, 2023 22:298,87657,756,09718,260,00010,144,0002,355,200
8Jun 17, 2023 22:298,89248,491,97418,292,00010,162,0002,379,776
9Jun 17, 2023 22:298,89353,537,18519,310,0009,147,0002,306,048
10Jun 17, 2023 22:298,90348,719,95721,366,0007,122,0002,318,336
11Jun 17, 2023 22:298,92749,911,94220,405,0008,162,0002,371,584
12Jun 17, 2023 22:298,94657,063,37618,403,00010,223,0002,412,544