2500: AtCoder167 B-Easy Linear Program

محدودیت حجمی:128 MB محدودیت زمانی:1.000 S
Judge Style:Text Compare Creator:
ارسال:5 مسائل حل کرده:4

توضیحات


ورودی

A B C K

خروجی

Print the maximum possible sum of the numbers written on the cards chosen.

نمونه وردی Copy

2 1 1 3

نمونه خروجی Copy

2