0_0_13807486_20296.cpp:18:12: error: stray '#' in program
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:20: error: stray '#' in program
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:28: error: stray '#' in program
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:36: error: stray '#' in program
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:52: error: stray '#' in program
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:60: error: stray '#' in program
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:19:12: error: stray '#' in program
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:20: error: stray '#' in program
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:28: error: stray '#' in program
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:36: error: stray '#' in program
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:52: error: stray '#' in program
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:60: error: stray '#' in program
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:20:12: error: stray '#' in program
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:20: error: stray '#' in program
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:28: error: stray '#' in program
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:36: error: stray '#' in program
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:52: error: stray '#' in program
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:60: error: stray '#' in program
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:27:21: error: stray '#' in program
t=t*3+iworm[i]-’0′;
^
0_0_13807486_20296.cpp:27:29: error: stray '#' in program
t=t*3+iworm[i]-’0′;
^
0_0_13807486_20296.cpp:79:9: error: stray '#' in program
while(n–)
^
0_0_13807486_20296.cpp:85:19: error: stray '#' in program
if(worm[i]==’r') worm[i]=’0′;
^
0_0_13807486_20296.cpp:85:6: error: missing terminating ' character
if(worm[i]==’r') worm[i]=’0′;
^
0_0_13807486_20296.cpp:86:24: error: stray '#' in program
else if(worm[i]==’g') worm[i] =’1′;
^
0_0_13807486_20296.cpp:86:6: error: missing terminating ' character
else if(worm[i]==’g') worm[i] =’1′;
^
0_0_13807486_20296.cpp:87:24: error: stray '#' in program
else if(worm[i]==’b') worm[i] =’2′;
^
0_0_13807486_20296.cpp:87:6: error: missing terminating ' character
else if(worm[i]==’b') worm[i] =’2′;
^
0_0_13807486_20296.cpp:92:23: error: stray '#' in program
last_worm[j]=i+’0′;
^
0_0_13807486_20296.cpp:92:31: error: stray '#' in program
last_worm[j]=i+’0′;
^
0_0_13807486_20296.cpp:93:22: error: stray '#' in program
last_worm[len]=’\0′;
^
0_0_13807486_20296.cpp:93:6: error: stray '\' in program
last_worm[len]=’\0′;
^
0_0_13807486_20296.cpp:93:31: error: stray '#' in program
last_worm[len]=’\0′;
^
0_0_13807486_20296.cpp: In function 'char change_colour(char, char)':
0_0_13807486_20296.cpp:18:13: error: lvalue required as unary '&' operand
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:17: error: expected ')' before ';' token
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:29: error: lvalue required as unary '&' operand
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:18:42: error: expected primary-expression before ')' token
if(a+b == ’0′+’1′) return ’2′;
^
0_0_13807486_20296.cpp:19:13: error: lvalue required as unary '&' operand
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:17: error: expected ')' before ';' token
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:29: error: lvalue required as unary '&' operand
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:19:42: error: expected primary-expression before ')' token
if(a+b == ’0′+’2′) return ’1′;
^
0_0_13807486_20296.cpp:20:13: error: lvalue required as unary '&' operand
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:17: error: expected ')' before ';' token
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:29: error: lvalue required as unary '&' operand
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp:20:42: error: expected primary-expression before ')' token
if(a+b == ’1′+’2′) return ’0′;
^
0_0_13807486_20296.cpp: In function 'int my_atoi(char*)':
0_0_13807486_20296.cpp:27:22: error: lvalue required as unary '&' operand
t=t*3+iworm[i]-’0′;
^
0_0_13807486_20296.cpp: In function 'int BFS()':
0_0_13807486_20296.cpp:41:37: error: 'memset' was not declared in this scope
memset(is_used,false,sizeof(is_used));
^
0_0_13807486_20296.cpp:42:22: error: 'strcpy' was not declared in this scope
strcpy(temp.worm,worm);
^
0_0_13807486_20296.cpp: In function 'int main()':
0_0_13807486_20296.cpp:79:14: error: expected ')' before ';' token
while(n–)
^
0_0_13807486_20296.cpp:79:15: error: expected primary-expression before ')' token
while(n–)
^
|