/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:37:26: error: 'scanf' was not declared in this scope
scanf("%d %d",&max,&tishu);
^
/in/foo.cc:41:9: error: 'imax' was not declared in this scope
for(i=0;imax)
^~~~
/in/foo.cc:41:13: error: expected ';' before ')' token
for(i=0;imax)
^
/in/foo.cc:53:6: error: expected primary-expression before ':' token
for(;:wink:
^
/in/foo.cc:53:6: error: expected ';' before ':' token
/in/foo.cc:53:6: error: expected primary-expression before ':' token
/in/foo.cc:53:6: error: expected ')' before ':' token
/in/foo.cc:53:6: error: expected primary-expression before ':' token
/in/foo.cc:93:1: error: 'else' without a previous 'if'
else break;
^~~~
/in/foo.cc:93:6: error: break statement not within loop or switch
else break;
^~~~~
/in/foo.cc: At global scope:
/in/foo.cc:99:7: error: expected constructor, destructor, or type conversion before '(' token
printf("%d",(int)(1000.0/tishu*right));
^
/in/foo.cc:101:1: error: expected unqualified-id before 'return'
return 0;
^~~~~~
/in/foo.cc:103:1: error: expected declaration before '}' token
}
^