0_0_22139093_28717.cpp: In function 'void getfail(char*, int*)':
0_0_22139093_28717.cpp:10:17: error: 'imaxlen' was not declared in this scope
for(int i=1;imaxlen){
^
0_0_22139093_28717.cpp:10:24: error: expected ';' before ')' token
for(int i=1;imaxlen){
^
0_0_22139093_28717.cpp:11:11: error: 'maxlen' was not declared in this scope
maxlen=strlen(s);
^
0_0_22139093_28717.cpp:12:12: error: invalid conversion from 'int' to 'char*' [-fpermissive]
p=i;
^
0_0_22139093_28717.cpp: At global scope:
0_0_22139093_28717.cpp:17:9: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++)
^
0_0_22139093_28717.cpp:17:21: error: 'i' does not name a type
for(int i=1;i<=n;i++)
^
0_0_22139093_28717.cpp:17:26: error: 'i' does not name a type
for(int i=1;i<=n;i++)
^
0_0_22139093_28717.cpp:23:9: error: expected unqualified-id before 'if'
if(ans==n)
^
0_0_22139093_28717.cpp:27:3: error: expected unqualified-id before 'else'
else puts("No");
^
0_0_22139093_28717.cpp:28:5: error: expected declaration before '}' token
}
^
|