QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#545679#7686. The Phantom MenaceNova_NightWind0311WA 336ms20520kbC++204.4kb2024-09-03 16:11:342024-09-03 16:11:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6ms
memory: 20212kb

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: 336ms
memory: 20520kb

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
-...

result:

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