QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#711610#5605. A-Mazing PuzzleZhangYiDeWA 7872ms223332kbC++175.2kb2024-11-05 12:27:522024-11-05 12:27:56

詳細信息

Test #1:

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

input:

7 4 4
3 2 S 6 3 S
6 1 1 1 2 1 3 2 3 5 1 5 3
11 2 1 3 1 3 2 5 2 6 2 2 3 4 3 5 3 6 3 3 4 6 4

output:

8 1

result:

ok single line: '8 1'

Test #2:

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

input:

3 4 2
1 3 S 3 2 S
1 3 3
5 1 1 2 1 1 2 1 3 2 3

output:

7 2

result:

ok single line: '7 2'

Test #3:

score: 0
Accepted
time: 7872ms
memory: 223332kb

input:

50 50 4
15 28 W 9 43 E
49 11 47 42 33 3 4 36 49 21 21 15 34 43 5 32 35 3 21 7 1 40 4 22 44 11 40 46 43 13 26 32 6 44 25 31 46 26 7 45 4 18 10 10 21 3 20 31 8 34 40 42 1 48 43 18 17 9 39 17 2 48 25 39 35 45 43 8 2 22 17 6 46 33 1 38 6 28 25 29 32 45 12 11 20 8 48 14 9 2 24 45 38 1 20 34 5 46 24
50 13...

output:

91 52

result:

ok single line: '91 52'

Test #4:

score: -100
Wrong Answer
time: 5890ms
memory: 218296kb

input:

50 50 25
1 50 N 50 50 E
1 45 25
1 16 37

output:

149 74

result:

wrong answer 1st lines differ - expected: '100 26', found: '149 74'