Output is correct but still shows test case not pass

output is correct but still i can’t submit thius as it shows it can’t pass test case …please help

hi @uditmudgal07_2f40cca755bd8bd2 give a tab space after printing no, corrected code

#include<iostream>
using namespace std;
int main() {
	int n,i,j;
	cin>>n;
	for(i=1;i<=n;i++){
		for(j=1;j<=i;j++){
			if (j==1 ||  j==i){
				cout<<i<<"	";

			}
			else{
				cout<<0<<"	";
			}
		}
		cout<<endl;
	}
	return 0;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.