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 13, 2021 18:58alex3dalex3dScore: 5,369Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 18:585,33045,684,54616,052,0001,003,0002,449,408
2May 13, 2021 18:585,33433,245,79216,064,0001,004,0002,445,312
3May 12, 2021 07:495,33438,566,42116,065,0001,004,0002,437,120
4May 12, 2021 07:495,34237,770,77315,084,0002,011,0002,265,088
5May 12, 2021 07:495,35138,040,12516,116,0001,007,0002,445,312
6May 12, 2021 07:495,35341,148,49016,123,0001,007,0002,269,184
7May 13, 2021 18:585,35639,001,45116,132,0001,008,0002,285,568
8May 12, 2021 07:495,36140,464,22216,147,0001,009,0002,531,328
9May 12, 2021 07:495,36147,224,18315,136,0002,018,0002,531,328
10May 13, 2021 18:585,36434,081,47315,145,0002,019,0002,269,184
11May 13, 2021 18:585,36748,621,94916,165,0001,010,0002,269,184
12May 13, 2021 18:585,36837,874,07416,166,0001,010,0002,527,232
13May 12, 2021 07:495,36937,545,66016,171,0001,010,0002,445,312
14May 13, 2021 18:585,38044,257,54115,192,0002,025,0002,449,408
15May 12, 2021 07:495,38443,319,57915,203,0002,027,0002,531,328
16May 12, 2021 07:495,39530,819,02416,248,0001,015,0002,445,312
17May 13, 2021 18:585,40033,563,63214,232,0003,049,0002,531,328
18May 13, 2021 18:585,40039,996,76616,263,0001,016,0002,441,216
19May 12, 2021 07:495,62589,055,37218,001,25802,207,744
20May 12, 2021 07:495,63578,770,58718,031,32102,203,648
21May 13, 2021 18:585,63682,177,71418,036,45202,195,456
22May 12, 2021 07:495,64282,610,78118,054,19202,207,744
23May 13, 2021 18:585,66281,470,76818,119,78902,191,360
24May 13, 2021 18:585,857117,620,09618,743,64402,195,456