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