QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#322251#147. Floppybachbeo2007100 ✓66ms11796kbC++172.9kb2024-02-06 16:52:402024-02-06 16:52:40

Judging History

你现在查看的是最新测评结果

  • [2024-02-06 16:52:40]
  • 评测
  • 测评结果:100
  • 用时:66ms
  • 内存:11796kb
  • [2024-02-06 16:52:40]
  • 提交

floppy

#include<bits/stdc++.h>
#include "floppy.h"
using namespace std;
const int maxn=40005;
const int maxl=20;
#define pii pair<int,int>
#define fi first
#define se second

void read_array(int subtask_id, const std::vector<int> &v) {
    string bits;
    int n=(int)v.size();
    vector<int> lt(n),rt(n),x;
    for(int i=0;i<n;i++){
        while(!x.empty() && v[x.back()]<v[i]) x.pop_back();
        lt[i]=(x.empty()?0:x.back()+1);
        x.push_back(i);
    }
    x.clear();
    for(int i=n-1;i>=0;i--){
        while(!x.empty() && v[x.back()]<v[i]) x.pop_back();
        rt[i]=(x.empty()?n-1:x.back()-1);
        x.push_back(i);
    }
    map<pii,int> mp;
    for(int i=0;i<n;i++) mp[{lt[i],rt[i]}]=i;
    int root=-1;
    vector<int> lc(n,-1),rc(n,-1);
    for(int i=0;i<n;i++){
        if(lt[i]<i) lc[i]=(mp[{lt[i],i-1}]);
        if(i<rt[i]) rc[i]=(mp[{i+1,rt[i]}]);
        if(lt[i]==0 && rt[i]==n-1) root=i;
    }
    function<void(int)> dfs = [&](int u){
        if(u==-1){
            bits+='0';
            return;
        }
        if(u!=root) bits+='1';
        dfs(lc[u]);
        dfs(rc[u]);
    };
    dfs(root);
    save_to_floppy(bits);
}

std::vector<int> solve_queries(int subtask_id, int n,
        const std::string &bit,
        const std::vector<int> &a, const std::vector<int> &b) {

    int m=(int)a.size();
    vector<int> res(m,-1),lc(n,-2),rc(n,-2);
    int pos=0;
    stack<int> s;
    vector<int> ind(n,-1),f(n,-1),dep(n,0);
    vector<vector<int>> par(n,vector<int>(maxl,-1));
    string bits="1"+bit;
    for(char c:bits){
        while(!s.empty() && (lc[s.top()]!=-2 && rc[s.top()]!=-2)) s.pop();
        if(c=='1'){
            if(!s.empty()){
                int u=s.top();
                if(lc[u]==-2) lc[u]=pos;
                else rc[u]=pos;
            }
            s.push(pos++);
        }
        else{
            int u=s.top();
            if(lc[u]==-2) lc[u]=-1;
            else rc[u]=-1;
        }
    }
    int cnt=0;
    function<void(int)> dfs = [&](int u){
        if(lc[u]!=-1){
            dep[lc[u]]=dep[u]+1;
            par[lc[u]][0]=u;
            dfs(lc[u]);
        }
        f[cnt]=u;
        ind[u]=cnt++;
        if(rc[u]!=-1){
            dep[rc[u]]=dep[u]+1;
            par[rc[u]][0]=u;
            dfs(rc[u]);
        }
    };
    dfs(0);

    for(int i=1;i<maxl;i++){
        for(int u=0;u<n;u++) if(par[u][i-1]!=-1) par[u][i]=par[par[u][i-1]][i-1];
    }
    auto lca = [&](int u,int v){
        if(dep[u]>dep[v]) swap(u,v);
        for(int i=0;i<maxl;i++) if((dep[v]-dep[u])>>i&1) v=par[v][i];
        if(u==v) return u;
        for(int i=maxl-1;i>=0;i--){
            if(par[u][i]!=par[v][i]){
                u=par[u][i];
                v=par[v][i];
            }
        }
        return par[u][0];
    };
    for(int i=0;i<m;i++){
        int A=f[a[i]];
        int B=f[b[i]];
        res[i]=ind[lca(A,B)];
    }
    return res;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 2ms
memory: 3868kb

input:

1 496
484
491
478
483
452
446
458
493
453
457
468
418
440
241
267
365
462
441
495
39
54
70
26
97
152
24
105
85
170
298
42
275
305
295
297
207
211
296
184
346
98
123
171
157
135
194
243
156
115
196
169
53
138
93
263
251
201
195
333
324
396
338
270
311
359
289
290
486
403
183
339
310
473
464
471
469
4...

output:

992
11100110011010001110001110011100001001111111111111000100011001000110001100111000100111111100010100011010010110010010101001001101100011000111101100100110010011110010100011100100101110001001111101010000100100111001001111001001001100011111011011000101100100110011110110010101001010110001111001110000...

input:

1 496
992
11100110011010001110001110011100001001111111111111000100011001000110001100111000100111111100010100011010010110010010101001001101100011000111101100100110010011110010100011100100101110001001111101010000100100111001001111001001001100011111011011000101100100110011110110010101001010110001111001...

output:

115
18
115
305
115
18
305
373
115
305
115
373
115
115
305
365
373
461
305
305
18
115
429
201
305
305
115
39
67
18
115
115
305
305
115
373
115
352
67
305
115
373
115
453
18
67
18
305
373
115
115
429
373
252
115
125
115
201
115
491
115
305
115
18
305
305
287
305
115
305
18
201
115
373
370
305
305
201
...

result:

ok good job! L = 992

Test #2:

score: 7
Accepted
time: 2ms
memory: 3812kb

input:

1 496
466
469
320
402
391
453
73
101
122
49
54
94
93
148
197
168
233
144
125
161
69
34
247
76
37
90
71
33
42
212
188
156
110
135
165
374
277
289
248
273
236
131
210
242
238
231
366
346
314
358
300
349
322
412
315
268
354
340
99
176
290
313
221
229
332
265
269
146
316
403
369
492
190
256
266
100
126
...

output:

992
11110011100100111111111000111000100010011010010100111010010110001011011000011100110011011000101001101001100100111010010111110000110001110010001001111111000111110000110000110011000111110101001000011100001010010101101001001111111101010010011001110000110111100111001100001101101001000101100011110000...

input:

1 496
992
11110011100100111111111000111000100010011010010100111010010110001011011000011100110011011000101001101001100100111010010111110000110001110010001001111111000111110000110000110011000111110101001000011100001010010101101001001111111101010010011001110000110111100111001100001101101001000101100011...

output:

339
339
339
389
222
339
256
256
339
180
339
339
339
310
109
71
339
365
256
256
171
455
484
264
200
339
256
413
339
339
339
339
339
339
109
339
256
109
339
222
339
339
109
339
109
339
455
346
109
213
339
53
339
339
109
339
339
339
109
339
339
339
339
339
339
109
109
339
256
109
339
256
310
109
339
10...

result:

ok good job! L = 992

Test #3:

score: 7
Accepted
time: 2ms
memory: 4116kb

input:

1 496
487
495
488
494
486
493
490
492
485
491
483
489
484
482
480
481
479
478
477
475
476
473
474
472
470
471
466
469
468
465
467
464
462
463
458
461
459
460
457
456
455
454
453
451
452
449
450
448
447
444
446
445
442
443
441
434
440
438
439
437
435
436
433
431
432
429
430
424
428
423
427
426
422
42...

output:

992
10011001100110011001100101011001010101100110010110011001011001011001100110010101010101100110010101100101100101100110010110010110011001100110010110010101011001100110011001011001100110010110010101100110011001100101100110011001011001100101100110011001010110011001010110010110011001100110011001010101...

input:

1 496
992
10011001100110011001100101011001010101100110010110011001011001011001100110010101010101100110010101100101100101100110010110010110011001100110010110010101011001100110011001011001100110010110010101100110011001100101100110011001011001100101100110011001010110011001010110010110011001100110011001...

output:

157
202
218
223
145
242
85
315
70
15
230
197
261
162
175
175
25
112
225
98
68
319
290
147
247
167
353
360
167
3
22
315
432
353
5
418
313
151
129
58
54
206
151
18
125
227
112
92
73
98
27
91
153
318
400
16
121
234
174
78
244
68
372
242
48
11
5
221
129
194
395
33
263
102
91
172
391
125
112
240
266
349
...

result:

ok good job! L = 992

Test #4:

score: 7
Accepted
time: 2ms
memory: 3824kb

input:

1 495
473
486
488
489
491
485
477
474
472
480
483
460
459
462
448
447
444
449
454
442
434
437
443
439
433
430
440
438
435
431
429
436
424
421
426
418
422
417
413
416
414
405
409
406
407
403
404
391
392
385
388
387
386
390
384
377
369
382
371
375
374
370
367
368
366
360
362
363
364
352
348
361
354
35...

output:

990
11111000001101111010100011111010011111010100011110110001101010010110101001111010011100111011001101100110011001111110011100101001011101001111001010110010111110000110100111101010011100111100111001111111000111110001100110111111000111010010011001110100101110100100111010001111011100011010011110111100...

input:

1 495
990
11111000001101111010100011111010011111010100011110110001101010010110101001111010011100111011001101100110011001111110011100101001011101001111001010110010111110000110100111101010011100111100111001111111000111110001100110111111000111010010011001110100101110100100111010001111011100011010011110...

output:

290
457
363
400
302
348
463
117
103
109
363
385
53
457
130
13
18
53
126
18
81
446
482
81
409
491
123
18
377
486
277
13
342
98
342
298
486
456
438
361
13
46
382
18
347
293
431
457
44
482
483
75
412
369
483
13
428
483
382
299
430
363
98
486
109
478
306
281
31
331
461
182
446
46
205
87
340
317
356
53
6...

result:

ok good job! L = 990

Test #5:

score: 7
Accepted
time: 2ms
memory: 4132kb

input:

1 498
379
228
234
288
275
306
283
287
302
280
196
162
261
251
312
255
204
405
289
220
265
269
342
148
231
338
296
394
161
267
340
116
218
226
305
186
282
240
391
337
351
366
401
321
333
454
362
396
406
329
380
443
190
292
301
273
358
377
402
398
418
414
450
475
348
354
419
285
291
279
216
262
349
32...

output:

996
11111011111000100111000101101001001010011110111000011100010011110001111000011001001110000110001111100011000111111100010000100100011111000111100101100010010010011111110100110001100011011001110000101111110000000111111011100011000110010110001010011101110100011011100100011101100011000100111111000001...

input:

1 498
996
11111011111000100111000101101001001010011110111000011100010011110001111000011001001110000110001111100011000111111100010000100100011111000111100101100010010010011111110100110001100011011001110000101111110000000111111011100011000110010110001010011101110100011011100100011101100011000100111111...

output:

417
63
362
63
456
372
102
372
63
237
372
289
63
63
372
289
63
102
63
63
63
372
63
63
78
289
162
102
162
289
289
63
372
102
372
63
115
102
372
372
372
138
162
372
372
372
289
372
118
289
372
280
162
63
372
102
372
289
289
372
372
372
362
417
63
372
474
289
63
78
372
268
237
417
372
417
351
63
417
237...

result:

ok good job! L = 996

Subtask #2:

score: 21
Accepted

Test #6:

score: 21
Accepted
time: 12ms
memory: 5484kb

input:

2 9998
941669562
945620824
923950848
951745929
487936934
545172907
544098433
249251812
620978276
575815248
584717207
588068187
353162497
679201670
592738155
438327774
762119945
576801563
408534366
592715009
525377786
603981493
-93758897
137509462
-38676966
-36724784
654920761
-595506762
-645387884
-...

output:

19996
111111001001111110010100111000100101001111010010011001100011111111101000000101001111010100100101110010010100110010011110001001010110010100111110010010001111000011110110001001111001010000111100100110100100101001100111011000111100011111110100011010010110100011000110110100001110011101100000100110...

input:

2 9998
19996
11111100100111111001010011100010010100111101001001100110001111111110100000010100111101010010010111001001010011001001111000100101011001010011111001001000111100001111011000100111100101000011110010011010010010100110011101100011110001111111010001101001011010001100011011010000111001110110000...

output:

6131
6131
359
6131
6131
6131
6131
359
6131
6131
2817
6131
359
6131
6131
5102
6131
1055
6131
7338
2817
6131
5760
5760
6131
6131
359
6131
6131
6664
6131
7884
6131
2817
7338
7338
8312
6131
6131
5102
6131
7338
6131
6131
6131
5760
6131
6131
6395
6131
6131
2817
6131
2118
8687
2471
6131
6131
6131
6131
7338...

result:

points 1.0 good job! L = 19996

Test #7:

score: 21
Accepted
time: 12ms
memory: 5192kb

input:

2 9999
731433813
672900155
-154266178
-142062752
810401507
609673796
544462551
633906986
571738102
936132990
790930862
713932885
583772218
618694605
415964624
125339983
752948390
446516496
494161410
870044586
267348103
415149513
140247028
139903914
573253228
-211705903
596809434
509194500
671221940
...

output:

19998
111111111101011000110100100111011011001010011000111111100101001001001011000100111110001001111001100110001001111101011000110010011001001111111000010011110010100110100001001100100111110010010100111001001111001010001110000100111000111100110010011101000101100001111010010101110010100110001110001100...

input:

2 9999
19998
11111111110101100011010010011101101100101001100011111110010100100100101100010011111000100111100110011000100111110101100011001001100100111111100001001111001010011010000100110010011111001001010011100100111100101000111000010011100011110011001001110100010110000111101001010111001010011000111...

output:

4198
2380
6998
4198
4198
4198
6998
4198
4198
8541
4198
4198
4198
4198
4198
5400
4198
8286
3848
8849
4198
2037
5400
7980
2037
4198
4198
4198
4198
4198
4198
4198
7619
9045
4198
5400
4198
4198
4198
4198
2037
4198
4198
6998
4198
4198
4198
4198
4198
4198
8849
8849
7619
4198
4198
4198
4198
4198
4198
4198
...

result:

points 1.0 good job! L = 19998

Test #8:

score: 21
Accepted
time: 14ms
memory: 5600kb

input:

2 9997
999646439
999877567
999615045
999572458
999465340
998602736
998754430
998562475
998183998
998108258
997864409
997668387
997816125
997387979
997110884
996840136
996816135
996727915
996673898
996724983
996388637
996660759
996075504
996307507
996029274
994026101
995863929
995531258
994972765
994...

output:

19994
100101010110010101010110010101010101100110011001011001010101010101010101100110011001100101100101011001010101010110010101100101100110010110011001010110010101011001010110011001100101011001100101011001100101100101100110010110010110011001010110011001100101100101011001100110011001100110010110010110...

input:

2 9997
19994
10010101011001010101011001010101010110011001100101100101010101010101010110011001100110010110010101100101010101011001010110010110011001011001100101011001010101100101011001100110010101100110010101100110010110010110011001011001011001100101011001100110010110010101100110011001100110011001011...

output:

1088
1215
5472
1158
7944
1502
3135
3011
3625
7853
396
2376
2480
2718
3625
2224
66
645
2239
4329
2871
2002
349
4713
963
1081
1075
302
384
3422
345
3651
2980
2891
1884
3288
1711
128
1812
8221
4866
980
1683
3879
1471
4534
1183
5748
5420
4153
311
4251
9426
2070
1185
2363
212
4405
3576
6882
6758
1175
312...

result:

points 1.0 good job! L = 19994

Test #9:

score: 21
Accepted
time: 6ms
memory: 5660kb

input:

2 9997
998075413
999768563
996994821
995848879
992447573
993627169
993755793
993838328
990880244
992269976
991969312
992511252
990615969
990854518
989858767
989576734
990174788
990535036
988582131
988861974
988343926
988904854
988679289
987728654
988224499
988144927
987476186
986075661
984274493
983...

output:

19994
100111110110111110000111100100110011111010001110010010110010110111010100111111000100111111010011100100111010001101100011110100101111000011011111001001100111110111100010011100011010010101111011000111110000110101111011000111111010111110100101111111001001111100101111100100101110001111010010011111...

input:

2 9997
19994
10011111011011111000011110010011001111101000111001001011001011011101010011111100010011111101001110010011101000110110001111010010111100001101111100100110011111011110001001110001101001010111101100011111000011010111101100011111101011111010010111111100100111110010111110010010111000111101001...

output:

2180
455
485
911
9955
7271
6982
9890
737
2764
9364
1214
639
1960
414
8137
7579
7130
308
8277
1409
8801
9229
1705
333
9851
2686
7725
7995
9118
3287
9917
7353
1790
26
8313
6210
7875
2347
7552
3061
2690
30
9917
3008
9054
9725
9755
6626
9214
7276
3464
9615
8305
8076
2328
599
3845
1453
9722
9074
6986
675...

result:

points 1.0 good job! L = 19994

Test #10:

score: 21
Accepted
time: 12ms
memory: 5196kb

input:

2 9996
858247159
442798730
530600104
557785258
-353636825
-522042815
-470118868
-915939541
-785438325
-68695070
108509921
10169473
-237573210
730447976
-260998254
-253035962
158696722
-91003900
600314055
292558809
168182086
279048883
463103031
504100858
320637761
399185676
413728072
629957268
280982...

output:

19992
111111111011110001110110011000010100111111000100111011000011100001100011010001100101111010010011000111110100000011100011001001101111100001001100011100110100110010011010100110001111110010111000100111010100111111100000010100100010111001101000100111111001000110101001001101110001100111000011111101...

input:

2 9996
19992
11111111101111000111011001100001010011111100010011101100001110000110001101000110010111101001001100011111010000001110001100100110111110000100110001110011010011001001101010011000111111001011100010011101010011111110000001010010001011100110100010011111100100011010100100110111000110011100001...

output:

4729
7373
2242
2242
338
940
4729
4729
8569
940
7373
7373
9560
7373
482
940
2242
7373
940
4729
3470
7373
7373
7373
6705
7373
7373
1199
4729
4783
2242
7373
7373
4729
940
940
6705
2242
4729
940
7373
7373
940
7373
7373
7373
7373
940
6705
2242
4729
2242
6705
7373
2242
4729
6705
7373
7373
940
2242
2242
73...

result:

points 1.0 good job! L = 19992

Subtask #3:

score: 72
Accepted

Test #11:

score: 72
Accepted
time: 56ms
memory: 9752kb

input:

3 39995
922975946
766568552
929754744
983095922
988967630
879723897
928174186
951250463
831467029
836738151
464712826
467214506
167661408
156498284
426000721
530835328
-35115993
-86200136
327603078
448684869
192895652
125768327
402822176
196767853
409109378
985776352
976681898
967347754
989156210
99...

output:

79990
111111111111010000111100011001110011010001110100011101001000101000111100010001111110101010011001001100111011001001110011000010011101101111000001100011001111001001001010111100000110011111111010011010001101000111000110001111110000010011001100011011000111000101011001010001100011110011100110001101...

input:

3 39995
79990
1111111111110100001111000110011100110100011101000111010010001010001111000100011111101010100110010011001110110010011100110000100111011011110000011000110011110010010010101111000001100111111110100110100011010001110001100011111100000100110011000110110001110001010110010100011000111100111001...

output:

11215
3597
17919
17919
16794
7409
7409
17919
17919
17919
17919
17919
37333
16794
38000
37333
17919
8605
16794
17919
27076
17919
17919
17919
17240
12582
27076
17919
17919
37333
17919
11215
17919
17919
17919
17919
17919
17919
7409
17919
17919
17919
584
32471
3597
32471
28370
17919
3597
17919
39520
373...

result:

points 1.0 good job! L = 79990

Test #12:

score: 72
Accepted
time: 56ms
memory: 9704kb

input:

3 39999
867402172
685901466
686671636
711501842
903386066
833531940
941869841
155613808
75348538
621222078
361531803
494133420
183601186
469266981
615102900
778500747
967242098
906173922
878275917
950695497
896291806
891834174
648534298
781268592
646594891
772566083
814129180
955538985
702320755
372...

output:

79998
111111111111011100001001110100111001100000111101001010111001100001111010010100110110010010100011010011011000100110110001111001111100100000111101001101000100110001101001001111111110101000111111001001011001100000110010100110100110011001001111110011010011001111000101001101001111001001001000111011...

input:

3 39999
79998
1111111111110111000010011101001110011000001111010010101110011000011110100101001101100100101000110100110110001001101100011110011111001000001111010011010001001100011010010011111111101010001111110010010110011000001100101001101001100110010011111100110100110011110001010011010011110010010010...

output:

26342
9725
33006
26342
4221
26342
26342
26342
22096
25742
4221
26342
26342
19941
31716
26342
37017
31716
16513
2293
26342
26342
16513
26342
31716
26342
31716
22096
31716
16513
16513
16513
7246
26342
16513
26342
29199
34715
26342
16513
16513
14546
13032
27508
16513
26342
26342
16513
4221
37017
26342
...

result:

points 1.0 good job! L = 79998

Test #13:

score: 72
Accepted
time: 66ms
memory: 11796kb

input:

3 39999
999942157
999920759
999874133
999902533
999819991
999831518
999785254
999798240
999745461
999681177
999690072
999678043
999529806
999656013
999367471
999501765
999498631
999326775
999353567
999256847
999285607
999067567
999153844
998988618
999045678
999017050
998767814
999006932
998853649
99...

output:

79998
010110011001100101100101100110010110011001100110010110011001010110011001011001010110011001100110011001011001100101011001010110010110010101100101010101100110011001100101100101011001100101010101100101010110010101100101100101011001010110010110010110011001010101100101010101010101010110011001011001...

input:

3 39999
79998
0101100110011001011001011001100101100110011001100101100110010101100110010110010101100110011001100110010110011001010110010101100101100101011001010101011001100110011001011001010110011001010101011001010101100101011001011001010110010101100101100101100110010101011001010101010101010101100110...

output:

9331
28322
15895
17633
4819
9380
18962
8175
12943
3121
33276
24495
23835
281
11609
2119
4296
18907
4734
9864
8595
9301
6423
7540
4409
11341
9722
745
6216
17596
30576
665
11330
1559
11285
5885
2545
10467
14703
9655
1345
9539
15122
3417
13491
8325
19130
5510
9130
13001
19577
1949
2991
5417
26009
10114...

result:

points 1.0 good job! L = 79998

Test #14:

score: 72
Accepted
time: 60ms
memory: 10820kb

input:

3 39997
999741536
998563309
999117238
999051426
999931575
998790342
998708277
999435518
998494006
999770772
999520752
999601843
999178766
999104397
998691983
999251186
998976540
998475511
999227922
999247583
998586910
998896453
998949171
998600846
998732343
997177247
997226941
998040189
997452681
99...

output:

79994
110110010011101001001100111010100111010001110001100111111100010010111111001001011111110011111101010011110010011111100001100111001010011100100111111100111001111001000111111100111000111000111001100010111111010011101000111111110100011101001110001110001100110111010100111010001101010011110100100110...

input:

3 39997
79994
1101100100111010010011001110101001110100011100011001111111000100101111110010010111111100111111010100111100100111111000011001110010100111001001111111001110011110010001111111001110001110001110011000101111110100111010001111111101000111010011100011100011001101110101001110100011010100111101...

output:

34621
36735
470
4891
26861
1224
17021
470
39536
33354
26470
36052
13047
7404
30035
1034
10900
5242
388
28048
10799
38942
11853
36483
960
10252
4438
38142
31605
32014
1804
27448
37085
325
7647
30672
34077
1269
3362
6651
1664
37092
36001
29837
3561
8043
28822
4190
428
25451
6063
31562
19212
5494
5784
...

result:

points 1.0 good job! L = 79994

Test #15:

score: 72
Accepted
time: 56ms
memory: 9920kb

input:

3 39999
446703557
267282645
373717810
575565010
-137808037
-196908944
-205843339
-67672074
-63391808
-145086107
-30135820
-560752712
-433832675
-416669373
203113652
-426744750
113728661
-149585326
789868391
13250158
60761658
-329610624
-203413073
-30407976
459063756
587074990
164973770
338401060
389...

output:

79998
111111101100011111010100010011100001100100111111110011100000111100001001001111011010010110011100011100100110001100111000100111100100100111101100010011011001001011001001110101001010101001111101001010100101110010010011001010011111000001011110000011010011001001111111001111000011000110101100100011...

input:

3 39999
79998
1111111011000111110101000100111000011001001111111100111000001111000010010011110110100101100111000111001001100011001110001001111001001001111011000100110110010010110010011101010010101010011111010010101001011100100100110010100111110000010111100000110100110010011111110011110000110001101011...

output:

13881
24249
13197
24249
26661
13197
10910
13197
13881
22746
13197
13197
13197
13197
26661
13881
33135
20387
24249
13197
5140
13197
13197
13881
14955
2564
34509
13197
26661
34509
20387
6034
13197
13197
37006
13197
13197
34509
26661
24249
13197
34509
34509
34509
34509
2564
37006
13197
13197
20387
1319...

result:

points 1.0 good job! L = 79998