题解 | #宝石#
相遇
https://ac.nowcoder.com/acm/contest/83687/A
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
int b;
cin>>a>>b;
if(a * 2 < b){
cout<<11*a;
}else{
cout<<a+5*b;
}
return 0;
}
相遇
https://ac.nowcoder.com/acm/contest/83687/A
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
int b;
cin>>a>>b;
if(a * 2 < b){
cout<<11*a;
}else{
cout<<a+5*b;
}
return 0;
}
相关推荐