UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#31733#96. leavesL__A100837ms54032kbC++1.2kb2018-10-27 11:00:572018-10-27 12:33:51

answer


详细

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

Test #1:

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

input:

20
0
0
0
0
0
9
0
5
12
4
0
18
0
0
0
10
1
14
16
0
0
0
11
19
0
17
13
6
0
3
0
0
20
8
0
0
15
7
2

output:

58

result:

ok single line: '58'

Test #2:

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

input:

2000
0
0
0
0
0
567
148
217
0
0
1384
0
262
913
0
0
1071
0
0
991
0
732
1283
0
1925
707
0
790
0
24
1342...

output:

947070

result:

ok single line: '947070'

Test #3:

score: 10
Accepted
time: 1ms
memory: 2792kb

input:

2000
0
0
0
0
1763
0
732
173
0
0
0
0
0
0
1661
1361
0
1134
1331
0
0
0
0
1098
0
1051
160
0
0
0
1329
803...

output:

952846

result:

ok single line: '952846'

Test #4:

score: 10
Accepted
time: 122ms
memory: 47780kb

input:

200000
0
0
0
0
0
0
0
0
0
0
0
0
0
0
156867
0
0
0
0
23121
196056
0
109446
71406
0
0
0
0
127531
154371
...

output:

9967408599

result:

ok single line: '9967408599'

Test #5:

score: 10
Accepted
time: 127ms
memory: 47780kb

input:

200000
0
0
0
0
0
0
0
0
0
78069
0
0
0
0
160740
186045
175989
0
0
0
76156
148348
0
67838
50734
0
30667...

output:

9960035566

result:

ok single line: '9960035566'

Test #6:

score: 10
Accepted
time: 114ms
memory: 47780kb

input:

200000
0
0
0
0
0
0
0
0
0
0
0
0
0
70057
73304
0
57908
176570
0
0
69608
0
0
199240
86040
0
158835
3918...

output:

9965398413

result:

ok single line: '9965398413'

Test #7:

score: 10
Accepted
time: 129ms
memory: 47784kb

input:

200000
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
17126
14982
0
0
115042
142158
0
107588
59293
0
85718
10...

output:

9964184693

result:

ok single line: '9964184693'

Test #8:

score: 10
Accepted
time: 115ms
memory: 47784kb

input:

200000
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
91134
0
0
143868
0
6759
102088
18267
0
153120
0
0
3601
...

output:

9970009061

result:

ok single line: '9970009061'

Test #9:

score: 10
Accepted
time: 107ms
memory: 54032kb

input:

200000
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

output:

5005233785

result:

ok single line: '5005233785'

Test #10:

score: 10
Accepted
time: 122ms
memory: 54028kb

input:

200000
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

output:

5013807137

result:

ok single line: '5013807137'