408191: GYM103049 A Atomic Energy
Memory Limit:1024 MB
Time Limit:5 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
A. Atomic Energytime limit per test5 secondsmemory limit per test1024 megabytesinputstandard inputoutputstandard outputExamplesInput
4 5 2 3 5 7 2 3 5 6 8Output
3 5 8 10 13Input
1 3 10 1 2 100Output
10 20 1000