Not being submitted

#include
using namespace std;
int main()
{
int N;
cin>>N;
int row,col;

   for(row=1;row<=N;row++)
   {
      for(col=1;col<=row;col++)
       {
         if( col>1 && col<row)
         cout<<0;
        
        else
        cout<<row;
       }
         
       cout<<endl;
   }

return 0;

}