QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#163595#4823. No!_map_WA 8ms38788kbC++204.7kb2023-09-04 11:59:062023-09-04 11:59:06

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 36540kb

input:

4 5
3 5
4 3
2 5
6 3
5
2
3
7
2

output:

3/1
3/2
3/2
1/0
3/2

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 36624kb

input:

5 6
10 6
3 7
6 15
7 6
8 15
5
3
9
7
7
9

output:

3/1
3/1
6/1
3/1
3/1
6/1

result:

ok 6 lines

Test #3:

score: 0
Accepted
time: 1ms
memory: 38664kb

input:

5 6
7 2020
1 8
10 1
8 1975
6 10
2
9
3
4
9
5

output:

1/2
1/1
1/2
1/2
1/1
1/2

result:

ok 6 lines

Test #4:

score: 0
Accepted
time: 2ms
memory: 36576kb

input:

1 1
8 9
8

output:

1/0

result:

ok single line: '1/0'

Test #5:

score: 0
Accepted
time: 7ms
memory: 34568kb

input:

1 1
3 1
6

output:

1/0

result:

ok single line: '1/0'

Test #6:

score: 0
Accepted
time: 1ms
memory: 38592kb

input:

7 9
44 51
91 191
1 6
67 3
94 191
87 58
59 10
54
80
37
63
27
9
28
85
44

output:

191/37
191/11
191/47
191/28
3/1
191/82
51/16
191/6
191/47

result:

ok 9 lines

Test #7:

score: 0
Accepted
time: 1ms
memory: 36628kb

input:

7 9
56 11172
5 9
79 2674
31 3263
38 4607
36 5
82 1814
41
24
52
22
30
92
74
48
67

output:

2674/23
2674/23
2674/23
2674/23
2674/23
1/0
2674/5
2674/23
1337/6

result:

ok 9 lines

Test #8:

score: 0
Accepted
time: 8ms
memory: 36608kb

input:

10 10
1465292 914022939
2258868 101102159
265616 463724951
192430 946841485
2630886 977373286
2016747 443115809
3552227 644307708
3999290 745677354
424627 330625475
2046399 18914556
2263191
3680274
839068
1905778
257097
2496977
3578950
1400222
3781916
2618199

output:

644307708/921341
372838677/159508
644307708/921341
644307708/921341
644307708/921341
644307708/921341
372838677/210170
644307708/921341
124279559/36229
644307708/921341

result:

ok 10 lines

Test #9:

score: 0
Accepted
time: 1ms
memory: 38680kb

input:

10 10
3074356 448776337
2241681 10
3815624 6
2599227 5
2198509 29372688
1850943 1
3863175 588270797
2115696 233002550
2979224 10
3126325 1125164
699495
709378
709923
2237353
2178964
3523938
567329
540819
83920
2664198

output:

448776337/2374861
448776337/2364978
448776337/2364433
448776337/837003
448776337/875847
588270797/339237
448776337/2507027
448776337/2533537
588270797/3779255
588270797/788819

result:

ok 10 lines

Test #10:

score: 0
Accepted
time: 2ms
memory: 38788kb

input:

100 100
1701033 665952298
3762088 427918742
942820 11367751
2265136 280409781
3945575 817499835
1580704 296571569
3021728 261050042
2200976 533446489
2930927 46397514
3128777 340713103
2466856 779166152
280779 157964999
851989 377722211
1094216 226133388
227570 985055136
3969447 224992764
1453039 24...

output:

978266048/116645
445006427/124838
445006427/124838
445006427/124838
445006427/124838
445006427/124838
978266048/75311
445006427/124838
445006427/124838
439022287/181846
445006427/124838
978266048/226445
445006427/124838
445006427/124838
439022287/181846
445006427/124838
445006427/124838
445006427/12...

result:

ok 100 lines

Test #11:

score: -100
Wrong Answer
time: 2ms
memory: 36736kb

input:

100 100
1538647 73653174
2121416 1188969
221052 112867
936487 1
2704755 32628191
3082143 5830772
1029494 33637913
187408 42136535
3600232 8
1964960 1931386
1140388 6
906191 22686835
2481683 38171667
2430939 7
281105 9
2058153 17144758
3620302 1
3455501 5508492
3756050 9
2396483 1
229129 2600234
2428...

output:

36584718/812549
36584718/812549
36584718/812549
1/0
36584718/812549
12194906/227019
36584718/812549
36584718/812549
36584718/812549
36584718/812549
36584718/812549
36584718/812549
36584718/812549
36584718/524615
36584718/812549
18292359/203452
1/0
36584718/812549
36584718/812549
36584718/812549
3658...

result:

wrong answer 22nd lines differ - expected: '18292359/206624', found: '12194906/146397'