0_0_18036211_31266.cpp:12:9: error: stray '\' in program
} /\n<=m
^
0_0_18036211_31266.cpp: In function 'int main()':
0_0_18036211_31266.cpp:12:13: error: expected primary-expression before '/' token
} /\n<=m
^
0_0_18036211_31266.cpp:17:13: error: 'answer' was not declared in this scope
answer = n / 2;
^
0_0_18036211_31266.cpp:18:22: error: 'ans' was not declared in this scope
else if(x == ans || x == ans + 1 || y == 1 || y == m)
^
0_0_18036211_31266.cpp:19:13: error: 'answer' was not declared in this scope
answer = ans;
^
0_0_18036211_31266.cpp:21:13: error: 'answer' was not declared in this scope
answer= min(max(up,down),min(left,right));
^
0_0_18036211_31266.cpp:23:13: error: 'answer' was not declared in this scope
answer = ans;
^
0_0_18036211_31266.cpp:24:23: error: 'answer' was not declared in this scope
printf("%d\n",answer);
^
|