#include <bits/stdc++.h> using namespace std; int main(){ int h,f,j,t;//h=头 f=脚 j=鸡 t=兔 cin>>h>>f;//h=30 f=90 j=(4*h-f)/2; t=h-j; cout<<t<<' '<<j; return 0; }
使用您的 OJTime 通用账户