0
已解决
刘乐宸
新手天翼
新手天翼
#include<bits/stdc++.h>
using namespace std;
int main(){
int x;
cin>>x;
if(x%4==0)
cout<<x/4<<" ";
else if(x%4!=0&&(x-x/4)%2==0)
cout<<x/4+x%2<<" ";
else
cout<<"0"<<" ";
if(x%2==0)
cout<<x/2<<" ";
else if(x%2!=0&&(x-x/2)%4==0)
cout<<x/2+x%4<<" ";
else
cout<<"0"<<" ";
return 0;
}
三十分代码,求大神找错!!!
0
0
0
0
0
0
0
0