题解
2026-07-08 21:34:40
发布于:上海
3阅读
0回复
0点赞
我直接用公式算的 但是别问我是什么意思,因为我也不知道
#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
cout<<x-(y-x*2)/2<<endl<<(y-x*2)/2;
return 0;
}
这里空空如也
2026-07-08 21:34:40
发布于:上海
我直接用公式算的 但是别问我是什么意思,因为我也不知道
#include<iostream>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
cout<<x-(y-x*2)/2<<endl<<(y-x*2)/2;
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个