0_0_4458642_16088.cpp: In function `int fun(int)': 0_0_4458642_16088.cpp:82: error: no matching function for call to `min(int[1005], int&)'