0_0_29320773_5109.cpp: In function 'int main()':
0_0_29320773_5109.cpp:13:25: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
int len=strlen(a);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:48,
from 0_0_29320773_5109.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/string.h:54:18: note: initializing argument 1 of 'size_t strlen(const char*)'
size_t __cdecl strlen(const char *_Str);
^
0_0_29320773_5109.cpp:22:22: error: 'l' was not declared in this scope
if(k>l)
^
0_0_29320773_5109.cpp:24:25: error: invalid types 'int[int]' for array subscript
if(a[a-1]=='y'&&a[b-1]=='r'&&a[k-1]=='x')
^
0_0_29320773_5109.cpp:24:38: error: invalid types 'int[int]' for array subscript
if(a[a-1]=='y'&&a[b-1]=='r'&&a[k-1]=='x')
^
0_0_29320773_5109.cpp:24:51: error: invalid types 'int[int]' for array subscript
if(a[a-1]=='y'&&a[b-1]=='r'&&a[k-1]=='x')
^
0_0_29320773_5109.cpp:26:25: error: invalid types 'int[int]' for array subscript
if(a[a-1]=='x'&&a[b-1]=='r'&&a[k-1]=='y')
^
0_0_29320773_5109.cpp:26:38: error: invalid types 'int[int]' for array subscript
if(a[a-1]=='x'&&a[b-1]=='r'&&a[k-1]=='y')
^
0_0_29320773_5109.cpp:26:51: error: invalid types 'int[int]' for array subscript
if(a[a-1]=='x'&&a[b-1]=='r'&&a[k-1]=='y')
^
|