My issue
what is the hidden task
My code
#include <iostream>
using namespace std;
int main() {
int T;
cin >> T;
while (T--) {
int N;
cin >> N;
if(N>=4){
if (N % 2 == 0) {
cout << N-2 << " " << 1 << " " << 1 << endl;
}
else if(N%2!=0&&N<10){
// cout << 3 ;
N=N-3;
cout << N/2<<" "<< 3 <<" "<<N/2<<endl;
}
else{
N=N-5;
cout<<N/2<<" "<<N/2<<" "<<5<<endl;
}
}}
return 0;
}
Problem Link: Chocolate Distribution Practice Coding Problem