0_0_26628579_10667.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26628579_10667.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26628579_10667.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_26628579_10667.cpp: In function 'bool input()':
0_0_26628579_10667.cpp:12:25: error: 'scanf' was not declared in this scope
scanf("%d%d", &n, &m);
^
0_0_26628579_10667.cpp: In function 'void change()':
0_0_26628579_10667.cpp:23:14: error: 'swap' was not declared in this scope
swap(n, m);
^
0_0_26628579_10667.cpp: In function 'int solve()':
0_0_26628579_10667.cpp:72:71: error: 'min' was not declared in this scope
dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]+1);
^
0_0_26628579_10667.cpp:79:69: error: 'min' was not declared in this scope
dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]);
^
0_0_26628579_10667.cpp:91:67: error: 'min' was not declared in this scope
dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]+1);
^
0_0_26628579_10667.cpp:101:65: error: 'min' was not declared in this scope
dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]);
^
0_0_26628579_10667.cpp:111:71: error: 'min' was not declared in this scope
dp[cr][czt^1] = min(dp[cr][czt^1], dp[cr][czt]);
^
0_0_26628579_10667.cpp:129:49: error: 'min' was not declared in this scope
if(flag) ans = min(ans, dp[cr][zt[i]]);
^
0_0_26628579_10667.cpp: In function 'int main()':
0_0_26628579_10667.cpp:137:48: error: 'printf' was not declared in this scope
printf("Case #%d: %d\n", cas++, solve());
^
|