0_0_21594644_30060.cpp:18:23: error: stray '#' in program
if(s[i]=='h') a[0]++;
^
0_0_21594644_30060.cpp:18:29: error: stray '#' in program
if(s[i]=='h') a[0]++;
^
0_0_21594644_30060.cpp:19:28: error: stray '#' in program
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:19:34: error: stray '#' in program
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:20:28: error: stray '#' in program
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:20:34: error: stray '#' in program
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:21:28: error: stray '#' in program
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp:21:34: error: stray '#' in program
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp: In function 'int main()':
0_0_21594644_30060.cpp:18:24: error: lvalue required as unary '&' operand
if(s[i]=='h') a[0]++;
^
0_0_21594644_30060.cpp:18:26: error: expected ')' before ';' token
if(s[i]=='h') a[0]++;
^
0_0_21594644_30060.cpp:18:27: error: 'h' was not declared in this scope
if(s[i]=='h') a[0]++;
^
0_0_21594644_30060.cpp:18:33: error: expected primary-expression before ')' token
if(s[i]=='h') a[0]++;
^
0_0_21594644_30060.cpp:19:13: error: 'else' without a previous 'if'
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:19:29: error: lvalue required as unary '&' operand
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:19:31: error: expected ')' before ';' token
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:19:35: error: invalid operands of types 'int [5]' and 'int' to binary 'operator&'
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:19:41: error: expected ';' before '[' token
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
0_0_21594644_30060.cpp:20:13: error: 'else' without a previous 'if'
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:20:29: error: lvalue required as unary '&' operand
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:20:31: error: expected ')' before ';' token
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:20:32: error: 'p' was not declared in this scope
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:20:41: error: expected ';' before '[' token
else if(s[i]=='p'&&a[0]&&a[1]&&a[2]<a[1]*2) a[2]++;
^
0_0_21594644_30060.cpp:21:13: error: 'else' without a previous 'if'
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp:21:29: error: lvalue required as unary '&' operand
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp:21:31: error: expected ')' before ';' token
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp:21:32: error: 'y' was not declared in this scope
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp:21:41: error: expected ';' before '[' token
else if(s[i]=='y'&&a[0]&&a[1]&&a[2]>1)
^
0_0_21594644_30060.cpp:19:40: error: label 'a' used but not defined
else if(s[i]=='a'&&a[0]&&a[1]<a[0]) a[1]++;
^
|