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 listDec 22, 2021 04:41Yuriy LyfenkoYuriy LyfenkoScore: 5,728Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:405,647571,558,46718,070,19402,289,664
2Dec 22, 2021 04:405,651545,189,15117,021,0001,063,0002,334,720
3Dec 22, 2021 04:405,660546,152,35217,107,0001,006,0002,338,816
4Dec 22, 2021 04:405,660539,366,31717,048,0001,065,0002,347,008
5Dec 22, 2021 04:415,665541,126,94616,115,0002,014,0002,330,624
6Dec 22, 2021 04:405,677544,627,94017,098,0001,068,0002,334,720
7Dec 22, 2021 04:405,683546,898,57616,164,0002,020,0002,334,720
8Dec 22, 2021 04:415,715544,947,52514,439,0003,850,0002,334,720
9Dec 22, 2021 04:415,724546,717,96116,390,0001,928,0002,334,720
10Dec 22, 2021 04:415,724544,330,92814,461,0003,856,0002,334,720
11Dec 22, 2021 04:405,727544,677,00217,307,0001,018,0002,334,720
12Dec 22, 2021 04:415,728544,931,11015,274,0003,054,0002,334,720
13Dec 22, 2021 04:415,728581,814,36018,329,28402,297,856
14Dec 22, 2021 04:415,729543,440,22218,333,00002,338,816
15Dec 22, 2021 04:405,729578,003,83218,332,61202,289,664
16Dec 22, 2021 04:405,739546,355,39114,499,0003,866,0002,334,720
17Dec 22, 2021 04:405,740545,361,68818,368,00002,334,720
18Dec 22, 2021 04:405,740544,942,28317,402,000966,0002,334,720
19Dec 22, 2021 04:415,740551,129,82116,328,0002,041,0002,330,624
20Dec 22, 2021 04:415,743568,497,47618,378,05202,252,800
21Dec 22, 2021 04:415,745547,079,93314,514,0003,870,0002,334,720
22Dec 22, 2021 04:415,758550,529,62515,516,0002,909,0002,334,720
23Dec 22, 2021 04:405,775590,151,29918,480,49602,256,896
24Dec 22, 2021 04:415,776573,032,20018,482,29302,285,568