QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#239829#7686. The Phantom Menaceucup-team646#WA 0ms3632kbC++237.8kb2023-11-04 23:42:002023-11-04 23:42:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3632kb

input:

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

output:

0 6 3 9 2 7 4 11 1 8 5 10 0 
1 3 2
1 2 3
-1

result:

wrong answer p is not permutation (test case 1)