大力土拨鼠
No testdata at current.
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Background
土拨鼠获得了大力丸,请你帮他算出它现在的力气
Description
已知大力丸有n个,每个大力丸功效(m)不一样,请将每个大力丸的功效输入进来,并算出现在土拨鼠的力气。
(土拨鼠的力气=大力丸功效m*土拨鼠原本力气x/1.5并全部相加)
Format
Input
2行 第一行为一个整数n与与整数x 第二行为n个整数即大力丸功效m
Output
1个,即大力丸现在功效
Samples
5 3
2 3 5 5 4
38
Limitation
1s, 1024KiB for each test case.
李泽霖刷题训练(小白专作)
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 11
- Start at
- 2024-12-7 18:30
- End at
- 2024-12-10 2:30
- Duration
- 56 hour(s)
- Host
- Partic.
- 2