0_0_31819377_11564.cpp: In function 'int main()':
0_0_31819377_11564.cpp:34:29: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
puts(s[i - n + 1]);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:40,
from 0_0_31819377_11564.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);
^
|