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 listJun 12, 2024 23:39джулисджулисScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:395,28345,668,87815,911,000994,0002,371,584
2Jun 12, 2024 23:395,28941,225,09215,931,000995,0002,293,760
3Jun 12, 2024 23:395,29446,016,27715,945,000996,0002,375,680
4Jun 12, 2024 23:395,29539,285,93715,947,000996,0002,371,584
5Jun 12, 2024 23:395,30634,507,17114,981,0001,997,0002,293,760
6Jun 12, 2024 23:395,31247,737,27515,998,000999,0002,375,680
7Jun 12, 2024 23:395,31248,465,35915,998,000999,0002,375,680
8Jun 12, 2024 23:395,31338,830,31615,002,0002,000,0002,371,584
9Jun 12, 2024 23:395,31344,764,48415,000,0002,000,0002,375,680
10Jun 12, 2024 23:395,31648,081,32516,011,0001,000,0002,375,680
11Jun 12, 2024 23:395,31843,237,77716,016,0001,001,0002,293,760
12Jun 12, 2024 23:395,32241,169,66315,028,0002,003,0002,375,680
13Jun 12, 2024 23:395,32344,775,12315,030,0002,004,0002,367,488
14Jun 12, 2024 23:395,33138,515,82816,056,0001,003,0002,293,760
15Jun 12, 2024 23:395,33150,501,85315,053,0002,007,0002,371,584
16Jun 12, 2024 23:395,33942,968,92615,075,0002,010,0002,293,760
17Jun 12, 2024 23:395,34540,144,83915,093,0002,012,0002,293,760
18Jun 12, 2024 23:395,35448,403,17415,119,0002,015,0002,375,680
19Jun 12, 2024 23:395,53880,803,45017,721,78102,248,704
20Jun 12, 2024 23:395,54090,150,36117,729,16502,248,704
21Jun 12, 2024 23:395,605109,881,28317,935,20102,252,800
22Jun 12, 2024 23:395,63392,246,46218,025,90102,240,512
23Jun 12, 2024 23:395,64772,491,79318,069,01002,248,704
24Jun 12, 2024 23:396,11294,210,27419,557,77202,248,704