/in/foo.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc: In function 'void solve()':
/in/foo.cc:22:50: error: 'max' was not declared in this scope
dp[i][j] = min(dp[i][j], max(dp[k][j], dp[i][k]));
^~~
/in/foo.cc:22:50: note: suggested alternative: 'map'
dp[i][j] = min(dp[i][j], max(dp[k][j], dp[i][k]));
^~~
map
/in/foo.cc:22:36: error: 'min' was not declared in this scope
dp[i][j] = min(dp[i][j], max(dp[k][j], dp[i][k]));
^~~
/in/foo.cc:24:36: error: 'max' was not declared in this scope
dp[i][j] = max(dp[i][k], dp[k][j]);
^~~
/in/foo.cc:24:36: note: suggested alternative: 'map'
dp[i][j] = max(dp[i][k], dp[k][j]);
^~~
map
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:5: error: 'scanf' was not declared in this scope
scanf("%d%d%d", &n, &m, &q);
^~~~~
/in/foo.cc:33:5: error: 'memset' was not declared in this scope
memset(map, -1, sizeof(map));
^~~~~~
/in/foo.cc:44:9: error: 'printf' was not declared in this scope
printf("%d\n", dp[s][t]);
^~~~~~
/in/foo.cc:44:9: note: suggested alternative: 'int'
printf("%d\n", dp[s][t]);
^~~~~~
int