求70原因!!!QAQ
查看原帖
求70原因!!!QAQ
1413309
makeway楼主2024/10/12 19:59
#include<bits/stdc++.h>
using namespace std;
int x,y,z;
int main()
{
    cin>>x>>y>>z;
    if(x<=(y+z))cout<<x<<"\n";
    else y+z;
    if(y<=(x+z))cout<<y<<"\n";
    else cout<<x+z;
    if(z<=(x+y))cout<<z;
    else cout<<x+y;
	return 0;
}
2024/10/12 19:59
加载中...