QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#705752#9536. Athlete Welcome Ceremonyucup-team4767#WA 15ms10664kbPython31.4kb2024-11-03 01:20:422024-11-03 01:20:52

详细

Test #1:

score: 100
Accepted
time: 9ms
memory: 10564kb

input:

6 3
a?b??c
2 2 2
1 1 1
1 0 2

output:

3
1
1

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 11ms
memory: 10660kb

input:

6 3
??????
2 2 2
2 3 3
3 3 3

output:

30
72
96

result:

ok 3 lines

Test #3:

score: 0
Accepted
time: 3ms
memory: 10608kb

input:

1 1
?
0 1 1

output:

2

result:

ok single line: '2'

Test #4:

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

input:

10 10
acab?cbaca
0 2 0
1 1 2
4 2 3
1 1 1
3 5 1
0 5 2
2 2 0
1 2 5
4 3 0
1 1 3

output:

0
1
1
1
1
0
1
1
1
1

result:

ok 10 lines

Test #5:

score: -100
Wrong Answer
time: 15ms
memory: 10644kb

input:

10 10
?c?c?cbac?
10 5 1
5 8 7
9 2 6
5 7 1
5 2 6
5 6 5
5 10 3
9 1 10
2 5 9
1 2 9

output:

0
0
11
16
11
16
0
0
0
0

result:

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