QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#308057#7974. 染色txl1621175 4902ms24560kbC++144.0kb2024-01-19 14:36:162024-01-19 14:36:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted
time: 12ms
memory: 22828kb

input:

3 5 7

output:

105

result:

ok single line: '105'

Test #2:

score: 5
Accepted
time: 11ms
memory: 22404kb

input:

4 4 8

output:

144

result:

ok single line: '144'

Test #3:

score: 5
Accepted
time: 11ms
memory: 22552kb

input:

9 7 53

output:

11271960

result:

ok single line: '11271960'

Test #4:

score: 5
Accepted
time: 4ms
memory: 23240kb

input:

10 10 60

output:

711797984

result:

ok single line: '711797984'

Test #5:

score: 5
Accepted
time: 18ms
memory: 22924kb

input:

50 100 100

output:

684521374

result:

ok single line: '684521374'

Test #6:

score: 5
Accepted
time: 23ms
memory: 22664kb

input:

69 69 99

output:

205514286

result:

ok single line: '205514286'

Test #7:

score: 5
Accepted
time: 30ms
memory: 22196kb

input:

500 10 3232

output:

571588252

result:

ok single line: '571588252'

Test #8:

score: 5
Accepted
time: 149ms
memory: 21704kb

input:

70 70 4800

output:

851456413

result:

ok single line: '851456413'

Test #9:

score: 5
Accepted
time: 3529ms
memory: 24560kb

input:

100 1000 50000

output:

437541409

result:

ok single line: '437541409'

Test #10:

score: 5
Accepted
time: 4073ms
memory: 23052kb

input:

316 316 4238

output:

753478761

result:

ok single line: '753478761'

Test #11:

score: 0
Time Limit Exceeded

input:

201 479 30001

output:


result:


Test #12:

score: 5
Accepted
time: 2068ms
memory: 22608kb

input:

706 706 706

output:

835727049

result:

ok single line: '835727049'

Test #13:

score: 5
Accepted
time: 1762ms
memory: 21756kb

input:

2023 233 2023

output:

801992885

result:

ok single line: '801992885'

Test #14:

score: 5
Accepted
time: 894ms
memory: 23404kb

input:

402 402 1000

output:

940937548

result:

ok single line: '940937548'

Test #15:

score: 5
Accepted
time: 913ms
memory: 22424kb

input:

707 333 999

output:

732112489

result:

ok single line: '732112489'

Test #16:

score: 0
Time Limit Exceeded

input:

600 600 18000

output:


result:


Test #17:

score: 0
Time Limit Exceeded

input:

389 1047 40001

output:


result:


Test #18:

score: 0
Time Limit Exceeded

input:

707 707 42837

output:


result:


Test #19:

score: 5
Accepted
time: 4902ms
memory: 23040kb

input:

100 5000 32346

output:

460579847

result:

ok single line: '460579847'

Test #20:

score: 0
Time Limit Exceeded

input:

501 501 251001

output:


result: