/in/foo.cc: In function 'void print()':
/in/foo.cc:62:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j = 1; j <= v; j++)
^~~
/in/foo.cc:64:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
printf("\n");
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:80:47: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
for(int i = 1; i <= n; i++)scanf("%llf",&k[i]);
^