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 listMay 21, 2021 16:35Dmitry DolgopolovDmitry DolgopolovScore: 5,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 16:355,32332,556,90115,030,0002,004,0002,486,272
2May 21, 2021 16:345,33641,116,14515,067,0002,009,0002,486,272
3May 21, 2021 16:355,33650,963,40215,066,0002,008,0002,269,184
4May 21, 2021 16:345,33740,305,62016,073,0001,004,0002,486,272
5May 21, 2021 16:345,34039,391,87816,082,0001,005,0002,478,080
6May 21, 2021 16:355,34334,067,34015,087,0002,011,0002,269,184
7May 21, 2021 16:345,34739,446,07116,103,0001,006,0002,269,184
8May 21, 2021 16:355,35033,922,71816,113,0001,007,0002,269,184
9May 21, 2021 16:345,35234,186,56816,120,0001,007,0002,269,184
10May 21, 2021 16:345,35344,794,92915,116,0002,015,0002,269,184
11May 21, 2021 16:355,35548,688,92116,128,0001,008,0002,486,272
12May 21, 2021 16:345,35941,544,53716,140,0001,008,0002,342,912
13May 21, 2021 16:345,36841,118,77216,166,0001,010,0002,269,184
14May 21, 2021 16:355,36945,554,23115,160,0002,021,0002,269,184
15May 21, 2021 16:345,37243,013,16015,167,0002,022,0002,486,272
16May 21, 2021 16:355,37342,503,34316,181,0001,011,0002,482,176
17May 21, 2021 16:355,37731,702,91916,195,0001,012,0002,269,184
18May 21, 2021 16:355,38344,313,61615,200,0002,026,0002,269,184
19May 21, 2021 16:345,496104,726,83617,587,54002,277,376
20May 21, 2021 16:355,49989,079,66317,597,22502,281,472
21May 21, 2021 16:355,51276,702,51817,639,10002,277,376
22May 21, 2021 16:345,51483,473,36317,644,84402,277,376
23May 21, 2021 16:355,51985,233,49017,660,68902,273,280
24May 21, 2021 16:355,52279,411,55517,670,29702,277,376
25May 21, 2021 16:345,52382,868,40417,673,68502,265,088
26May 21, 2021 16:345,53180,276,95717,697,96502,281,472
27May 21, 2021 16:345,53281,098,47717,703,39602,285,568
28May 21, 2021 16:355,53568,147,56917,710,47602,281,472
29May 21, 2021 16:355,56173,495,55517,795,54302,277,376
30May 21, 2021 16:345,58881,056,50117,882,34202,285,568