Problem Link: CHOCOCHEF Problem - CodeChef
Feedback
many answer is correct but it show wrong answer .this is not fair. please resolve it
Problem Link: CHOCOCHEF Problem - CodeChef
many answer is correct but it show wrong answer .this is not fair. please resolve it
@ray09112004
Plzz refer the following solution for better understanding of the logic.
#include <iostream>
using namespace std;
int main() {
// your code goes here
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
cout<<1<<" "<<1<<" "<<n-2<<endl;
}
return 0;
}