22 条题解
信息
- ID
- 283
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 6
- 标签
- 递交数
- 7546
- 已通过
- 2363
- 上传者
#include <iostream>
using namespace std;
int main()
{
int head,foot,a,b,rabbit,Ikun;
cin >>head>>foot;
a=head*2;
b=foot-a;
rabbit=b/2;
Ikun=head-rabbit;
cout<<Ikun<<" "<<rabbit;
return 0;
}
假设法