foo.cc: In function 'long long int dfs(int, int)':
foo.cc:30:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (curScore = maxScore && k < root[i][j])
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:62:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < out.size() - 1; ++k) {
~~^~~~~~~~~~~~~~~~
foo.cc:54:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &score[i]);
~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务