UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#53518#283. 唐时月夜nksbwen1004140ms229960kbC++2.1kb2019-03-31 10:57:332019-03-31 13:27:07

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 5
Accepted
time: 0ms
memory: 640kb

input:

1
10 10 0
1033707934 1162168205 1049455488

output:

288324644

result:

ok single line: '288324644'

Test #2:

score: 5
Accepted
time: 0ms
memory: 636kb

input:

2
6 8 500
951019646 553335667 1057564407
2 2 2 5 5
1 2 2 5 5
1 2 2 5 5
2 2 2 5 5
1 2 2 5 5
1 2 2 5 5...

output:

1043089400

result:

ok single line: '1043089400'

Test #3:

score: 5
Accepted
time: 0ms
memory: 684kb

input:

3
10 10 500
2032411663 639571842 1851356391
1 2 2 8 8
1 2 2 8 8
2 2 2 8 8
3 2 2 8 8
2 2 2 8 8
1 2 2 ...

output:

2612008628

result:

ok single line: '2612008628'

Test #4:

score: 5
Accepted
time: 7ms
memory: 11232kb

input:

4
500 500 500
1367961138 1395872691 1516663515
3 200 300 200 300
2 197 297 202 301
1 195 295 202 302...

output:

3487567176

result:

ok single line: '3487567176'

Test #5:

score: 5
Accepted
time: 63ms
memory: 26036kb

input:

5
500 500 200000
2099519597 245118190 1578042580
3 250 250 250 250
3 250 250 250 250
2 250 250 250 2...

output:

2219192452

result:

ok single line: '2219192452'

Test #6:

score: 5
Accepted
time: 72ms
memory: 26036kb

input:

6
500 500 200000
2058175453 1014443745 1582113423
3 10 10 10 10
2 10 10 10 10
2 10 10 10 10
1 10 10 ...

output:

1699899021

result:

ok single line: '1699899021'

Test #7:

score: 5
Accepted
time: 44ms
memory: 82916kb

input:

7
2000 2000 3000
108464964 1201829080 1584874593
1 998 996 1003 1001
1 998 996 1004 1002
1 998 996 1...

output:

1519237824

result:

ok single line: '1519237824'

Test #8:

score: 5
Accepted
time: 122ms
memory: 99316kb

input:

8
2000 2000 200000
182794290 679879016 1699829463
1 1000 1000 1000 1000
1 1000 1000 1000 1000
1 1000...

output:

2621802336

result:

ok single line: '2621802336'

Test #9:

score: 5
Accepted
time: 284ms
memory: 229936kb

input:

9
4000 4000 200000
136256695 1114797686 1615476831
1 2000 2000 2001 2000
1 2000 2000 2001 2000
1 200...

output:

4006912

result:

ok single line: '4006912'

Test #10:

score: 5
Accepted
time: 79ms
memory: 82784kb

input:

10
2000 2000 3000
1883720243 1683439203 1621512186
1 1000 1000 1001 1000
1 1000 1000 1001 1000
1 100...

output:

3259570566

result:

ok single line: '3259570566'

Test #11:

score: 5
Accepted
time: 143ms
memory: 98920kb

input:

11
2000 2000 200000
1601401554 498934571 2038178469
1 999 1000 1000 1000
2 999 1000 1000 1000
1 999 ...

output:

1009942400

result:

ok single line: '1009942400'

Test #12:

score: 5
Accepted
time: 409ms
memory: 229944kb

input:

12
4000 4000 200000
1603226027 887319634 1626827168
1 1500 3500 1500 3500
1 1499 3500 1500 3500
2 14...

output:

1952306064

result:

ok single line: '1952306064'

Test #13:

score: 5
Accepted
time: 102ms
memory: 82696kb

input:

13
2000 2000 3000
90406002 679953476 1631138136
3 1000 1000 1000 1000
3 999 999 1002 1002
3 999 999 ...

output:

519078912

result:

ok single line: '519078912'

Test #14:

score: 5
Accepted
time: 151ms
memory: 99336kb

input:

14
2000 2000 200000
1879180927 479203902 1633037112
3 1000 1000 1000 1000
3 1000 1000 1000 1000
3 10...

output:

1874298344

result:

ok single line: '1874298344'

Test #15:

score: 5
Accepted
time: 531ms
memory: 229876kb

input:

15
4000 4000 200000
164048425 1027831828 1646079069
3 1588 1587 1589 1588
3 1588 1587 1589 1588
3 15...

output:

1202360000

result:

ok single line: '1202360000'

Test #16:

score: 5
Accepted
time: 112ms
memory: 82764kb

input:

16
2000 2000 3000
2146057193 1957715936 1662329676
1 999 1000 1000 1000
3 999 1000 1000 1001
1 999 1...

output:

4013838336

result:

ok single line: '4013838336'

Test #17:

score: 5
Accepted
time: 179ms
memory: 99344kb

input:

17
2000 2000 200000
2104713049 579557843 1666466055
1 1000 1000 1000 1000
1 1000 1000 1000 1000
1 10...

output:

2915096876

result:

ok single line: '2915096876'

Test #18:

score: 5
Accepted
time: 614ms
memory: 229960kb

input:

18
4000 4000 200000
1626478441 1743602123 1669019868
3 2000 2000 2000 2000
3 2000 2000 2000 2000
1 1...

output:

2705720084

result:

ok single line: '2705720084'

Test #19:

score: 5
Accepted
time: 629ms
memory: 229900kb

input:

19
4000 4000 200000
1543790153 1134769585 1677161556
1 2000 2000 2000 2000
3 2000 2000 2000 2000
1 2...

output:

747873624

result:

ok single line: '747873624'

Test #20:

score: 5
Accepted
time: 599ms
memory: 229904kb

input:

20
4000 4000 200000
1090543153 1069134585 877151656
1 2000 2000 2000 2000
3 2000 2000 2000 2000
1 20...

output:

4007525952

result:

ok single line: '4007525952'

Extra Test:

score: 0
Extra Test Passed