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 listSep 7, 2022 04:44Yuriy LyfenkoYuriy LyfenkoScore: 4,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:444,423538,908,33713,144,0001,011,0002,523,136
2Sep 7, 2022 04:444,428538,242,41614,169,00002,396,160
3Sep 7, 2022 04:444,432540,727,17612,156,0002,026,0002,392,064
4Sep 7, 2022 04:444,435543,151,51312,166,0002,027,0002,523,136
5Sep 7, 2022 04:444,442538,754,40713,200,0001,015,0002,260,992
6Sep 7, 2022 04:444,449541,826,48912,204,0002,034,0002,523,136
7Sep 7, 2022 04:444,450540,817,31012,205,0002,034,0002,523,136
8Sep 7, 2022 04:444,459536,555,14113,249,0001,019,0002,527,232
9Sep 7, 2022 04:444,519540,104,86813,428,0001,032,0002,265,088
10Sep 7, 2022 04:444,617566,047,98414,774,14202,244,608
11Sep 7, 2022 04:444,621579,960,09414,786,11702,269,184
12Sep 7, 2022 04:444,627588,847,77414,807,17602,244,608