QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#43732#4387. Static Query on TreeGuanYunchangWA 181ms43184kbC++236.4kb2022-08-10 15:09:172022-08-10 15:09:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 181ms
memory: 43184kb

input:

1
200000 18309
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ...

output:

57944
45367
34145
70484
4529
22305
35887
85022
28000
54125
45500
25000
25000
70767
30494
0
18132
28734
55411
30389
14636
25000
70313
13911
32813
37500
49638
62853
24397
60475
62640
30058
93750
10426
83294
48681
56720
26290
25000
75000
48448
90284
57054
31250
36315
9181
0
7384
0
7817
52458
0
46662
64...

result:

wrong answer 1st numbers differ - expected: '102147', found: '57944'