Information
- ID
- 1250
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 10
- Tags
- # Submissions
- 5
- Accepted
- 4
- Uploaded By
#include <bits/stdc++.h>
using namespace std;
int main()
{
int x,y,a,b;
cin >> x >> y;
a = (x * 4 - y) / 2;
b = x - a;
cout << a << " " << b;
return 0;
}
不懂者请复习小学鸡兔同笼>>知识点(两差相除)
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.