0_0_11041414_30869.cpp: In function `int solve()': 0_0_11041414_30869.cpp:121: error: no matching function for call to `min(int&, long long int)'