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 listFeb 24, 2023 16:34Andranik ChakiryanAndranik ChakiryanScore: 5,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 16:345,60831,468,96115,953,0001,994,0002,347,008
2Feb 24, 2023 16:345,63344,859,45416,024,0002,003,0002,359,296
3Feb 24, 2023 16:315,64435,094,85017,057,0001,003,0002,347,008
4Feb 24, 2023 16:315,64643,640,75016,059,0002,007,0002,355,200
5Feb 24, 2023 16:315,64844,739,03917,071,0001,004,0002,342,912
6Feb 24, 2023 16:315,64934,364,54317,072,0001,004,0002,338,816
7Feb 24, 2023 16:315,66234,320,60417,112,0001,006,0002,351,104
8Feb 24, 2023 16:315,66641,055,13517,125,0001,007,0002,342,912
9Feb 24, 2023 16:345,66637,575,69817,124,0001,007,0002,334,720
10Feb 24, 2023 16:345,66947,768,46616,126,0002,015,0002,342,912
11Feb 24, 2023 16:345,67449,077,22116,140,0002,017,0002,355,200
12Feb 24, 2023 16:345,67838,814,74517,160,0001,009,0002,342,912
13Feb 24, 2023 16:315,68241,038,85916,163,0002,020,0002,338,816
14Feb 24, 2023 16:315,68440,548,48417,180,0001,010,0002,342,912
15Feb 24, 2023 16:345,68844,283,74516,179,0002,022,0002,359,296
16Feb 24, 2023 16:345,69451,085,05917,208,0001,012,0002,347,008
17Feb 24, 2023 16:315,69467,067,52818,222,12002,187,264
18Feb 24, 2023 16:345,69579,947,72218,224,83202,187,264
19Feb 24, 2023 16:315,69636,375,33517,216,0001,012,0002,473,984
20Feb 24, 2023 16:345,69946,769,83015,198,0003,039,0002,342,912
21Feb 24, 2023 16:315,72169,632,80618,307,80002,191,360
22Feb 24, 2023 16:345,80687,879,07018,578,34802,195,456
23Feb 24, 2023 16:315,81798,576,71418,613,44502,179,072
24Feb 24, 2023 16:345,96380,648,52319,082,94902,174,976