Help me in solving PRACREARR3 problem

My issue

why is my answer showing wrong even if you have given the same solution

Learning course: Practice C++
Problem Link: Rearrange Code Practice Problem in C++ - CodeChef

@rohan_s_0731
this will be the correct rearrangement

#include <bits/stdc++.h>
using namespace std;
int main() {
  for(int i = 1; i <= 10; i++)
  {
    cout << i << endl;
  }
}
Explanation:
Don't forget to have endl after each testcase's output!