UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#89251#1403. 花神游历各国ysy20021208100646ms4700kbC++1.4kb2020-02-13 21:38:572020-02-13 21:39:01

answer


详细

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

Test #1:

score: 10
Accepted
time: 117ms
memory: 4700kb

input:

100000
58 26315298 3771008 69070012 12265035 79111064 57792592 10537940 65978640 57964600 99894500 6...

output:

3789067300566
3014838555729
2397803354859
3274023897282
500054240723
3494675182588
1279541066620
173...

result:

ok 99997 lines

Test #2:

score: 10
Accepted
time: 109ms
memory: 4700kb

input:

100000
1 61855284 80525768 20554350 24248000 7739200 50768000 22052212 71464950 49540864 65071984 57...

output:

2475009859040
2570257021881
1082853719350
543539622199
1323141106788
834710817966
846891725154
32593...

result:

ok 100336 lines

Test #3:

score: 10
Accepted
time: 106ms
memory: 4700kb

input:

100000
0 72000585 74255760 63208224 8696720 34946816 31250640 84865792 5656130 53773175 84061568 858...

output:

69473314560
1441402063736
4045095944698
502028675764
4249745426274
2288960202569
1346181850332
13382...

result:

ok 100200 lines

Test #4:

score: 10
Accepted
time: 27ms
memory: 2644kb

input:

50000
79 8000 9740 6056 1472 5920 5124 896 2800 7838 9080 9200 6980 6720 5538 8168 7362 9280 6832 88...

output:

96837526
60919707
410229
21004621
4552519
2224848
45
675
1402
5431
10875120
2925
17552
37260603
5072...

result:

ok 33483 lines

Test #5:

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

input:

100000
0 73115100 37181584 80234240 52628960 29132800 33520384 85328500 29551592 98557440 55386080 6...

output:

25241131
637167861131
695500
471740454135
392123895289
560635249628
9725626123
379896
98192444
13536...

result:

ok 133591 lines

Test #6:

score: 10
Accepted
time: 113ms
memory: 4700kb

input:

100000
51 2164750 32474348 7049630 96619600 83233442 62982320 76122560 47321160 66545196 48715148 16...

output:

897240922554
402844638785
598316045624
1785853
474131
25136515
199556151797
65797050
456442660622
13...

result:

ok 99900 lines

Test #7:

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

input:

100
1 8560 9948 416 1147 2400 2144 192 1904 1792 8288 4796 2630 572 2050 632 50 6896 6290 9808 4033 ...

output:

193783
648
957
65945
57929
155
2720
238
728
213
1116
3357
2090
3901
137
547
322
133
402
201
62
12
19...

result:

ok 129 lines

Test #8:

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

input:

100
14 2480 3360 3014 7570 9136 1398 1500 5680 960 1440 2250 1225 2250 4750 7220 640 2500 0 2811 800...

output:

8052
90902
94185
184
1025
795
548
61
9
151
423
5
3249
38
9947
127
33
52163
130
19
20
2
18205
35151
2...

result:

ok 137 lines

Test #9:

score: 10
Accepted
time: 12ms
memory: 1104kb

input:

10000
47 2932 8700 6048 2400 6000 1086 4335 8800 7872 8104 7280 2800 8400 9280 7928 0 760 7120 7776 ...

output:

5416844
1140763
111058
54023
1715021
66300
11515
511670
1148931
483696
68731
29171
1010
3863312
73
3...

result:

ok 13308 lines

Test #10:

score: 10
Accepted
time: 48ms
memory: 4696kb

input:

100000
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:

0

result:

ok single line: '0'