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 listMay 23, 2021 10:31Andrey TsvetkovAndrey TsvetkovScore: 5,729Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:315,67041,660,64415,121,0003,024,0002,523,136
2May 23, 2021 10:315,68639,995,54715,163,0003,032,0002,334,720
3May 23, 2021 10:315,69142,846,34015,177,0003,035,0002,334,720
4May 23, 2021 10:315,69541,331,26715,186,0003,037,0002,334,720
5May 23, 2021 10:315,70538,392,01616,228,0002,028,0002,334,720
6May 23, 2021 10:315,72280,359,66418,311,22502,248,704
7May 23, 2021 10:315,72345,523,37917,297,0001,017,0002,322,432
8May 23, 2021 10:315,72938,186,71616,297,0002,037,0002,334,720
9May 23, 2021 10:315,73880,565,89018,361,58002,232,320
10May 23, 2021 10:315,73880,012,11418,362,16602,240,512
11May 23, 2021 10:315,74042,962,40616,328,0002,041,0002,334,720
12May 23, 2021 10:315,74545,007,19216,342,0002,042,0002,326,528
13May 23, 2021 10:315,80977,661,67918,589,97402,228,224
14May 23, 2021 10:315,83284,204,15818,662,41002,236,416
15May 23, 2021 10:315,84097,839,74918,688,93402,232,320