QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#743029#7531. Hacking the Projectucup-team2172#TL 0ms3772kbC++231.8kb2024-11-13 17:59:502024-11-13 17:59:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
1 aaa
2 aaa aba
2 aaa aba
0
1 cxyxy
2 cxyxy czzzz
1 czzzz
1 czzzz
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

output:

query a 1
query a 2
query a 4
query b 1
query c 1
query c 2
query czzzz 1
query czzzz 2
query d 1
query e 1
query f 1
query g 1
query h 1
query i 1
query j 1
query k 1
query l 1
query m 1
query n 1
query o 1
query p 1
query q 1
query r 1
query s 1
query t 1
query u 1
query v 1
query w 1
query x 1
qu...

result:

ok Ok in 37 k

Test #2:

score: -100
Time Limit Exceeded

input:

5
1000
1 a
2 a aajm
4 a aajm aavfegkci aavj
8 a aajm aavfegkci aavj abjc abnxwsy abzbr acvd
16 a aajm aavfegkci aavj abjc abnxwsy abzbr acvd adrvb af afbxpytbe afl afwsjfu aigwxskrks aimpdesf ajbq
32 a aajm aavfegkci aavj abjc abnxwsy abzbr acvd adrvb af afbxpytbe afl afwsjfu aigwxskrks aimpdesf ajb...

output:

query a 1
query a 2
query a 4
query a 8
query a 16
query a 32
query a 64
query b 1
query b 2
query b 4
query b 8
query b 16
query b 32
query b 64
query c 1
query c 2
query c 4
query c 8
query c 16
query c 32
query c 64
query d 1
query d 2
query d 4
query d 8
query d 16
query d 32
query d 64
query e ...

result: