C++c++
2025-03-12 17:09:09
发布于:浙江
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main() {
int x,y,a,b;
cin>>x>>y;
b=(y-x*2)/2;
a=x-b;
cout<<a<<endl<<b;
return 0;
}
这里空空如也
2025-03-12 17:09:09
发布于:浙江
#include<bits/stdc++.h>
using namespace std;
int main() {
int x,y,a,b;
cin>>x>>y;
b=(y-x*2)/2;
a=x-b;
cout<<a<<endl<<b;
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个