408377: GYM103109 E Knockout Tournament

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

E. Knockout Tournamenttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputExampleInput
2
2 3 5 1
Output
666666678

加入题单

上一题 下一题 算法标签: