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 22, 2021 22:39Andrey TsvetkovAndrey TsvetkovScore: 5,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2021 22:395,65346,216,46515,074,0003,014,0002,519,040
2Jun 22, 2021 22:385,65445,797,32716,083,0002,010,0002,334,720
3Jun 22, 2021 22:395,66146,010,73215,095,0003,019,0002,531,328
4Jun 22, 2021 22:385,66445,733,18115,104,0003,020,0002,334,720
5Jun 22, 2021 22:395,67047,305,74816,129,0002,016,0002,531,328
6Jun 22, 2021 22:385,67235,352,43916,134,0002,016,0002,531,328
7Jun 22, 2021 22:395,67443,463,92716,141,0002,017,0002,527,232
8Jun 22, 2021 22:385,67438,365,76315,132,0003,026,0002,531,328
9Jun 22, 2021 22:385,68441,090,94615,158,0003,031,0002,523,136
10Jun 22, 2021 22:385,68640,262,91115,163,0003,032,0002,334,720
11Jun 22, 2021 22:395,69343,920,98315,183,0003,036,0002,527,232
12Jun 22, 2021 22:385,69839,048,11215,195,0003,039,0002,527,232
13Jun 22, 2021 22:395,71538,763,93216,257,0002,032,0002,334,720
14Jun 22, 2021 22:385,72043,032,12917,287,0001,016,0002,334,720
15Jun 22, 2021 22:385,72133,457,12516,273,0002,034,0002,334,720
16Jun 22, 2021 22:395,72341,106,75216,278,0002,034,0002,334,720
17Jun 22, 2021 22:395,72341,091,21416,280,0002,035,0002,334,720
18Jun 22, 2021 22:385,72698,668,86018,322,90402,224,128
19Jun 22, 2021 22:385,72881,079,08418,329,93402,232,320
20Jun 22, 2021 22:395,74783,329,23818,391,45702,236,416
21Jun 22, 2021 22:395,74940,375,16616,352,0002,044,0002,527,232
22Jun 22, 2021 22:395,76970,926,91318,461,49602,228,224
23Jun 22, 2021 22:395,82887,558,91318,650,20802,228,224
24Jun 22, 2021 22:385,87786,120,24318,807,36002,240,512