10分求dl
查看原帖
10分求dl
1049033
luogu_00楼主2024/12/13 06:35
#include<bits/stdc++.h>
using namespace std;
int main(){
    long long x,y,n;
    cin>>x>>y>>n;
    if(x*10<y) cout<<n*x;
    else cout<<n/10*y+n%10*x;
    return 0;
}

dl=大佬

2024/12/13 06:35
加载中...