QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#659977#7007. Rikka with Data StructuresMaMengQiWA 3107ms25340kbC++235.6kb2024-10-20 00:43:572024-10-20 00:43:57

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3600kb

input:

1
10 10
1 3 2 5 2 3 1 6 4 5
3 5 7 8
3 5 7 4
1 1 5 2
3 1 10 4
3 1 10 8
2 8 8 8
3 1 10 8
3 1 10 4
2 4 8 1
3 1 2 10

output:

3
3
10
7
10
8
2

result:

ok 7 lines

Test #2:

score: -100
Wrong Answer
time: 3107ms
memory: 25340kb

input:

200
321 43
168330405 102091681 86278243 227886812 609333939 211045240 332465535 212315420 510322126 700237719 102348318 320419595 409640374 582249257 245617532 643949598 748863235 405762764 358055464 585833725 429993246 60296212 632603910 229141445 696836739 297883078 545245133 44079558 92873286 347...

output:

0
58
70
2
2
0
50
5
9
87
58
58
97
247
106
92
43
335
18
32
0
3
48
0
18
5
0
3
5
72
59
0
7
64
128
58
15
0
61
28
3
42
0
1
0
137
10
19
12
27
123
35
168
184
110
118
115
0
0
189
7
104
41
8
104
75
2
99
130
13
105
185
0
0
41
0
0
29
0
7
0
79
16
73
28
22
3
9
8
0
11
74
0
49
0
46
50
0
144
5
60
68
32
0
75
7
0
227
...

result:

wrong answer 1st lines differ - expected: '1', found: '0'