Problem Code: FLOW007

I’ve run the code below on VSCODE and it’s working just fine , but Codechef is giving me a compilation error , Please help

Code:
#include <stdio.h>
#include <string.h>
int main()
{
int t;
scanf("%d",&t);
for (int i = 0; i < t; i++)
{
char n[1000],p[1000];
scanf("%s", n);
strcpy(p , strrev(n));
printf("%s\n",p);
}

return 0;

}

1 Like

Thanks :slight_smile:

1 Like

Tips for you : never include a separate library for online competitions in C++, use this #include <bits/stdc++> instead of all library.

1 Like

Thank you so much :grin: