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 listAug 21, 2022 18:32Franek KortaFranek KortaScore: 5,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 18:325,36243,198,19415,141,0002,018,0002,269,184
2Aug 21, 2022 18:325,36236,532,82516,150,0001,009,0002,441,216
3Aug 20, 2022 23:335,36537,755,57716,159,0001,009,0002,269,184
4Aug 20, 2022 23:335,36630,440,50116,162,0001,010,0002,449,408
5Aug 21, 2022 18:325,36739,771,11215,154,0002,020,0002,445,312
6Aug 20, 2022 23:335,36741,016,92414,144,0003,031,0002,531,328
7Aug 20, 2022 23:335,36842,763,86116,166,0001,010,0002,445,312
8Aug 20, 2022 23:335,37344,546,95316,181,0001,011,0002,265,088
9Aug 21, 2022 18:325,37332,988,09615,171,0002,022,0002,531,328
10Aug 21, 2022 18:325,37335,759,66516,184,0001,011,0002,437,120
11Aug 21, 2022 18:325,37538,369,92616,189,0001,011,0002,523,136
12Aug 20, 2022 23:335,37637,006,20316,192,0001,012,0002,441,216
13Aug 20, 2022 23:335,38933,053,67416,230,0001,014,0002,269,184
14Aug 21, 2022 18:325,39237,528,05716,239,0001,014,0002,531,328
15Aug 21, 2022 18:325,39839,086,82416,256,0001,016,0002,531,328
16Aug 20, 2022 23:335,39834,940,42317,275,00002,531,328
17Aug 20, 2022 23:335,39937,633,55915,245,0002,032,0002,265,088
18Aug 21, 2022 18:325,41533,740,00416,310,0001,019,0002,531,328
19Aug 21, 2022 18:325,64092,189,72918,048,08802,195,456
20Aug 20, 2022 23:335,64060,074,28318,049,10102,211,840
21Aug 20, 2022 23:335,64574,038,47418,063,13402,199,552
22Aug 21, 2022 18:325,652188,665,32118,086,08502,215,936
23Aug 21, 2022 18:325,66686,017,01018,131,55602,203,648
24Aug 20, 2022 23:335,68084,866,73518,177,16902,199,552