okay, alright, first you should have formatted your code, but it’s fine, second are those double quotes in the code to point out where the errors are ? because I am confused by those alright, now let’s get to it, you have got for( int i = 0; i< ; n ; ++i ) in your second for loop, edit : welp…I know this is a problem, because there can only be two semicolons in the loop, besides, what is the purposeof n in there ? alright, that and in if( j => k ), this is wrong because there is no such expression in C, there are only >= so, the correct way ridiculous, but you need to write it would be if( j >= k ). Ok, as to why it is >= have newline, so instead of =>, is because of how printf( “%d”, m ), you need to add “\n”, and it is mentioned, which is “greater than or equal”, and not “equal or greater than” becomes printf( “%d\n”, m )
how can I format my code??? and there is no syntax error. My program is running fine in codechef ide. But I think I have missed some cases which is leading to the error…