1851: 商店折扣 - CCF-GESP2025年9月一级C++
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:4
Solved:3
Description
Input
四行,四个正整数x,y,n,p,含义见题目描述。
Output
一行,一个小数,表示小明最少需要支付多少钱,保留两位小数。
Sample Input Copy
8
7
9
10
Sample Output Copy
3.00