/in/foo.cc: In function 'void Dijkstra()':
/in/foo.cc:23:39: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if (!vis[k] && dis[k] < min(dis[data], map[data][k]))
^
/in/foo.cc:6:24: warning: unused variable 'ans' [-Wunused-variable]
int data = 0, max, ans, i, j, k;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (scanf("%d%d%d", &t1, &t2, &t3), t1 + t2 + t3)
^~~~~
/in/foo.cc:41:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
Dijkstra();
^~~~~~~~