QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#33069#3837. The Matching System SuffixTreeAC ✓1803ms8728kbC++171.7kb2022-05-27 11:02:482022-05-27 11:02:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 8568kb

input:

3

output:

*0*
011
8
*1*
001
7

result:

ok Accepted

Test #2:

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

input:

1

output:

*
0
1
*
0
2

result:

ok Accepted

Test #3:

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

input:

2

output:

*0
00
3
*0
00
4

result:

ok Accepted

Test #4:

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

input:

4

output:

**0*
0111
31
*01*
0001
10

result:

ok Accepted

Test #5:

score: 0
Accepted
time: 1ms
memory: 8616kb

input:

5

output:

***0*
01111
119
*01**
00001
14

result:

ok Accepted

Test #6:

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

input:

6

output:

****0*
011111
456
*001**
000001
18

result:

ok Accepted

Test #7:

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

input:

10

output:

********0*
0111111111
99892
*00001****
0000000001
40

result:

ok Accepted

Test #8:

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

input:

20

output:

******************0*
01111111111111111111
31775330
*0000000001*********
00000000000000000001
130

result:

ok Accepted

Test #9:

score: 0
Accepted
time: 1ms
memory: 8564kb

input:

30

output:

****************************0*
011111111111111111111111111111
37652369
*000000000000001**************
000000000000000000000000000001
270

result:

ok Accepted

Test #10:

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

input:

50

output:

************************************************0*
01111111111111111111111111111111111111111111111111
637736708
*0000000000000000000000001************************
00000000000000000000000000000000000000000000000001
700

result:

ok Accepted

Test #11:

score: 0
Accepted
time: 6ms
memory: 8724kb

input:

100

output:

**************************************************************************************************0*
0111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
990322733
*00000000000000000000000000000000000000000000000001*************************************...

result:

ok Accepted

Test #12:

score: 0
Accepted
time: 14ms
memory: 8680kb

input:

200

output:

******************************************************************************************************************************************************************************************************0*
011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok Accepted

Test #13:

score: 0
Accepted
time: 224ms
memory: 8728kb

input:

499

output:

************************************************************************************************************************************************************************************************************************************************************************************************************...

result:

ok Accepted

Test #14:

score: 0
Accepted
time: 1249ms
memory: 8628kb

input:

888

output:

************************************************************************************************************************************************************************************************************************************************************************************************************...

result:

ok Accepted

Test #15:

score: 0
Accepted
time: 1790ms
memory: 8580kb

input:

999

output:

************************************************************************************************************************************************************************************************************************************************************************************************************...

result:

ok Accepted

Test #16:

score: 0
Accepted
time: 1803ms
memory: 8624kb

input:

1000

output:

************************************************************************************************************************************************************************************************************************************************************************************************************...

result:

ok Accepted