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:05Yuriy LyfenkoYuriy LyfenkoScore: 5,658Success
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:055,59934,356,90615,926,0001,990,0002,342,912
2Dec 22, 2021 04:055,61236,387,69116,960,000997,0002,334,720
3Aug 21, 2021 17:105,61542,241,43915,973,0001,996,0002,330,624
4Dec 22, 2021 04:055,62042,136,96716,986,000999,0002,334,720
5Dec 22, 2021 04:055,62445,360,44716,998,000999,0002,334,720
6Aug 21, 2021 17:105,62637,531,20317,003,0001,000,0002,334,720
7Aug 21, 2021 17:105,63247,152,82017,022,0001,001,0002,334,720
8Aug 21, 2021 17:105,64833,312,73717,069,0001,004,0002,334,720
9Aug 21, 2021 17:105,64946,481,22615,065,0003,013,0002,330,624
10Dec 22, 2021 04:055,65097,073,06918,080,20802,289,664
11Aug 21, 2021 17:105,65442,539,37716,082,0002,010,0002,334,720
12Dec 22, 2021 04:055,65648,047,95117,095,0001,005,0002,334,720
13Aug 21, 2021 17:105,65835,962,67616,093,0002,011,0002,334,720
14Dec 22, 2021 04:055,65844,236,74416,094,0002,011,0002,334,720
15Aug 21, 2021 17:105,66483,249,86418,123,37802,293,760
16Aug 21, 2021 17:105,66834,779,66917,132,0001,007,0002,334,720
17Aug 21, 2021 17:105,66974,356,74018,142,11402,301,952
18Dec 22, 2021 04:055,66940,701,12616,125,0002,015,0002,334,720
19Aug 21, 2021 17:105,67146,775,63015,123,0003,024,0002,334,720
20Dec 22, 2021 04:055,67649,490,44215,137,0003,027,0002,334,720
21Dec 22, 2021 04:055,70240,242,76416,220,0002,027,0002,322,432
22Aug 21, 2021 17:105,71388,745,70618,280,91802,285,568
23Dec 22, 2021 04:055,73296,448,82218,341,89702,293,760
24Dec 22, 2021 04:055,78576,227,80518,513,24102,293,760