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 20, 2021 19:23Andrey TsvetkovAndrey TsvetkovScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:205,65936,993,18416,096,0002,012,0002,334,720
2Jun 20, 2021 19:235,66436,564,48616,111,0002,013,0002,527,232
3Jun 20, 2021 19:205,66547,708,00815,108,0003,021,0002,334,720
4Jun 20, 2021 19:205,67143,871,33015,124,0003,024,0002,334,720
5Jun 20, 2021 19:205,67241,640,01215,126,0003,025,0002,523,136
6Jun 20, 2021 19:235,68236,821,54716,161,0002,020,0002,334,720
7Jun 20, 2021 19:205,68648,445,97416,173,0002,021,0002,334,720
8Jun 20, 2021 19:235,68839,355,89116,179,0002,022,0002,334,720
9Jun 20, 2021 19:235,68841,538,45916,181,0002,022,0002,334,720
10Jun 20, 2021 19:205,69344,735,95315,183,0003,036,0002,334,720
11Jun 20, 2021 19:205,69744,175,96415,193,0003,038,0002,527,232
12Jun 20, 2021 19:235,70041,218,91115,201,0003,040,0002,531,328
13Jun 20, 2021 19:205,70831,856,10816,237,0002,029,0002,383,872
14Jun 20, 2021 19:235,71342,579,58816,251,0002,031,0002,334,720
15Jun 20, 2021 19:205,71649,602,04515,242,0003,048,0002,527,232
16Jun 20, 2021 19:235,71740,265,21116,262,0002,032,0002,531,328
17Jun 20, 2021 19:235,71777,271,00918,294,01902,224,128
18Jun 20, 2021 19:235,72339,859,83515,263,0003,052,0002,334,720
19Jun 20, 2021 19:235,73135,386,97015,283,0003,056,0002,334,720
20Jun 20, 2021 19:205,74279,559,35918,373,33102,236,416
21Jun 20, 2021 19:235,74574,772,86418,382,56802,224,128
22Jun 20, 2021 19:205,74990,944,05718,396,20002,228,224
23Jun 20, 2021 19:235,80877,161,81418,586,82502,240,512
24Jun 20, 2021 19:205,81174,537,92518,596,34302,236,416