Run ID:87425

提交时间:2024-08-10 10:46:16

#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%4==0) cout<<0<<" "<<0<<" "<<x/4; else if(x%4==1) cout<<0<<" "<<1<<" "<<x/4-1; else if(x%4==2) cout<<1<<" "<<0<<" "<<x/4-1; else if(x%4==3) cout<<1<<" "<<1<<" "<<x/4-2; return 0; }