UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#97343#1469. 荒岛野人zsq259100416ms508kbC++747b2020-02-20 22:21:572020-02-20 22:21:58

answer


详细

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

1
1 100 1000000

output:

1

result:

ok single line: '1'

Test #2:

score: 10
Accepted
time: 216ms
memory: 508kb

input:

15
1 7 357753
2 12 245230
4 17 430020
5 19 81510
7 24 237304
9 30 33600
11 37 260544
13 44 139776
15...

output:

961119

result:

ok single line: '961119'

Test #3:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

2
1 2 10
2 3 5

output:

7

result:

ok single line: '7'

Test #4:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

5
1 2 14
4 4 6
8 5 9
11 8 13
16 9 10

output:

33

result:

ok single line: '33'

Test #5:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

5
1 1 1111
2 2 2222
3 3 3333
4 4 4444
5 5 5555

output:

4447

result:

ok single line: '4447'

Test #6:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

12
1 1 1000000
22 1 1000000
49 1 1000000
8 1 1000000
28 1 1000000
7 1 1000000
90 1 1000000
18 1 1000...

output:

92

result:

ok single line: '92'

Test #7:

score: 10
Accepted
time: 5ms
memory: 508kb

input:

10
1 2 3731
6 12 5543
9 21 2957
23 26 9941
28 33 3969
39 38 2843
44 49 7770
56 61 6716
59 75 3562
74...

output:

17810

result:

ok single line: '17810'

Test #8:

score: 10
Accepted
time: 31ms
memory: 508kb

input:

2
1 1 987652
2 2 987653

output:

987654

result:

ok single line: '987654'

Test #9:

score: 10
Accepted
time: 66ms
memory: 508kb

input:

10
1 11 119126
4 18 313596
7 25 399600
10 36 138
13 49 99979
16 60 26391
18 73 395622
21 83 29877
24...

output:

370724

result:

ok single line: '370724'

Test #10:

score: 10
Accepted
time: 98ms
memory: 508kb

input:

12
1 1 251908
2 3 121764
3 9 216976
4 17 176185
5 20 12704
6 22 192924
7 30 14056
8 39 8160
9 46 954...

output:

487564

result:

ok single line: '487564'