0_0_22248341_14195.cpp: In function 'int main()':
0_0_22248341_14195.cpp:54:20: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
if(i>n)puts(-1);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdio:42:0,
from 0_0_22248341_14195.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:504:15: note: initializing argument 1 of 'int puts(const char*)'
int __cdecl puts(const char *_Str);
^
|