QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#35144#4272. Phone PlansSuffixTree0 557ms65684kbC++172.2kb2022-06-14 07:24:222022-06-14 07:24:25

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Accepted
time: 2ms
memory: 18420kb

input:

6 4 4 9
1 2 1
2 3 2
1 4 3
3 4 4
5 6 40
1 5 30
2 6 20
3 6 10

output:

33

result:

ok single line: '33'

Test #2:

score: -6
Wrong Answer
time: 2ms
memory: 17320kb

input:

1 0 0 0

output:

-1

result:

wrong answer 1st lines differ - expected: '0', found: '-1'

Subtask #2:

score: 0
Wrong Answer

Test #53:

score: 5
Accepted
time: 557ms
memory: 65684kb

input:

200000 100000 100000 7628995
23677 113459 839167193
165893 15365 669621527
26287 109671 214795757
156871 136723 522277985
9957 100463 806718116
104783 161385 156110975
184577 92225 545172629
57373 130083 980035338
167231 49597 919886451
115601 24325 717233004
99413 141311 737488449
83437 62759 76873...

output:

502149991

result:

ok single line: '502149991'

Test #54:

score: 0
Accepted
time: 353ms
memory: 52832kb

input:

200000 200000 87 2694
197233 86229 181875035
85167 196363 328068482
177795 65479 693403443
119609 181977 588691030
115815 139981 486110961
92473 20483 199129328
166989 95385 210368646
98095 54673 357307451
122543 94377 907487846
46611 80735 71787832
158893 117071 521262491
92051 104395 365725125
142...

output:

11965880

result:

ok single line: '11965880'

Test #55:

score: 0
Accepted
time: 339ms
memory: 55500kb

input:

200000 103 199999 1593
75203 150269 64
68675 175215 100
176335 11837 94
33623 63279 56
16617 86741 63
167219 52783 58
6575 134399 1
144065 114171 2
32625 99459 50
35311 152509 36
132975 12211 8
175275 107903 23
17477 21319 95
157759 66683 71
34577 78339 26
154003 26703 18
187863 90945 74
116071 1089...

output:

7037526

result:

ok single line: '7037526'

Test #56:

score: -5
Wrong Answer
time: 2ms
memory: 16728kb

input:

1 0 0 0

output:

-1

result:

wrong answer 1st lines differ - expected: '0', found: '-1'

Subtask #3:

score: 0
Wrong Answer

Test #103:

score: 0
Wrong Answer
time: 5ms
memory: 16840kb

input:

1 0 0 0

output:

-1

result:

wrong answer 1st lines differ - expected: '0', found: '-1'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%