Run id: 1715
Main.cc: In function 'int main()':
Main.cc:6:13: error: 'INT_MIN' was not declared in this scope
int a,m=INT_MIN;
^
Main.cc:7:18: error: expected initializer before '<=' token
for(int i=1,i<=7)
^
Main.cc:7:18: error: expected ';' before '<=' token
Main.cc:7:18: error: expected primary-expression before '<=' token
Main.cc:7:21: error: expected ';' before ')' token
for(int i=1,i<=7)
^
Main.cc:10:14: error: invalid operands of types 'int' and '' to binary 'operator>'
if(a>max)
^
Main.cc:11:16: error: overloaded function with no contextual type information
max=a;
^
Main.cc:7:13: warning: unused variable 'i' [-Wunused-variable]
for(int i=1,i<=7)
^