QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#646981#7686. The Phantom Menaceucup-team4543WA 345ms61616kbC++233.1kb2024-10-17 10:44:562024-10-17 10:44:57

详细

Test #1:

score: 100
Accepted
time: 15ms
memory: 60316kb

input:

2
3 3
abc
ghi
def
bcd
efg
hia
1 3
abc
def

output:

1 3 2 
1 2 3 
-1

result:

ok 2 cases (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 345ms
memory: 61616kb

input:

1000000
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
b
b
1 1
a
b
1 1
b
a
1 1
a
a
1 1
...

output:

1 
1 
-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


-1
-1
1 
1 


...

result:

wrong answer Jury has the answer but participant has not (test case 5)