QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#726335#8070. A Complex ProblemMaMengQiWA 4ms18004kbC++172.2kb2024-11-08 23:05:222024-11-08 23:05:23

详细

Test #1:

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

input:

6 2
A B
B C
C A
A D
D E
E A
F B
E G

output:

3 3

result:

ok single line: '3 3'

Test #2:

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

input:

1 0
P NP

output:

1 2

result:

ok single line: '1 2'

Test #3:

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

input:

0 1
R ALL

output:

2 2

result:

ok single line: '2 2'

Test #4:

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

input:

3 0
QMIP MIPstar
MIPstar RE
RE QMIP

output:

1 1

result:

ok single line: '1 1'

Test #5:

score: 0
Accepted
time: 4ms
memory: 18004kb

input:

11 8
NC P
P BPP
P coNP
P NP
BPP BQP
coNP PSPACE
BQP PSPACE
NP PSPACE
PSPACE EXPTIME
EXPTIME NEXPTIME
NEXPTIME EXPSPACE
REG CFL
CFL NC
CFL CSL
NC PSPACE
CSL PSPACE
EXPSPACE R
R RE
RE ALL

output:

7 16

result:

ok single line: '7 16'

Test #6:

score: -100
Wrong Answer
time: 0ms
memory: 17776kb

input:

5 4
A B
E B
B G
H C
E G
A D
D E
G H
B C

output:

2 7

result:

wrong answer 1st lines differ - expected: '4 7', found: '2 7'