竞赛
考级
有事找大号
#include <bits/stdc++.h> using namespace std; int main(){ int t,j,x,y; cin>>t>>j; x=t*4; y=(x-j)/2; x=t-y; cout <<y<<endl<<x<<endl; }
666
#include<iostream> using namespace std; int main(){ int x,y; cin>>x>>y; cout<<(y - ((y - x * 2) / 2) *4) / 2<<endl; cout<<(y - x *2) / 2<<endl; return 0; }
韩骏恒
庞文昊
共44条