QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#883238#8240. Card Gamelazy1105WA 7ms11872kbC++201.5kb2025-02-05 15:27:272025-02-05 15:27:27

详细

Test #1:

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

input:

5 5
3 3 1 1 1
5 5
3 4
3 3
0 5
3 5

output:

1
2
1
0
1

result:

ok 5 number(s): "1 2 1 0 1"

Test #2:

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

input:

7 7
2 4 1 2 3 1 2
1 6
0 4
3 3
0 4
0 3
0 6
2 7

output:

2
1
1
1
2
3
0

result:

ok 7 numbers

Test #3:

score: -100
Wrong Answer
time: 7ms
memory: 11872kb

input:

10000 10000
160 120 157 1393 1368 911 449 735 662 698 480 730 1184 768 1291 1012 834 61 1925 642 1401 1681 441 367 1498 1215 1969 1895 857 304 400 524 1138 846 810 885 68 1737 199 90 321 1109 980 1097 1936 1482 753 1796 1787 1939 291 1201 1025 367 980 1785 1781 276 1774 777 861 967 1428 1060 1300 32...

output:

8
30
4
5
24
0
35
5
13
83
36
20
45
19
11
11
98
115
7
45
40
42
17
23
13
74
58
27
49
13
23
32
2
30
25
19
34
11
27
28
39
67
25
16
36
74
11
29
11
19
20
131
50
47
37
23
23
6
5
3
67
18
18
32
9
38
41
46
26
22
23
17
7
34
14
21
24
34
6
16
37
23
16
28
15
26
16
22
31
6
10
34
58
32
45
34
21
15
21
59
104
67
21
36...

result:

wrong answer 2nd numbers differ - expected: '31', found: '30'