0_0_37727367_13883.cpp: In lambda function:
0_0_37727367_13883.cpp:10:23: error: 'i' is not captured
auto f=[](int x){if(i-x>=0&&dp[i-x]>-1)dp[i]=min((uint)dp[i],(uint)dp[i-x]+1);};
^
0_0_37727367_13883.cpp:10:34: error: 'i' is not captured
auto f=[](int x){if(i-x>=0&&dp[i-x]>-1)dp[i]=min((uint)dp[i],(uint)dp[i-x]+1);};
^
0_0_37727367_13883.cpp:10:45: error: 'i' is not captured
auto f=[](int x){if(i-x>=0&&dp[i-x]>-1)dp[i]=min((uint)dp[i],(uint)dp[i-x]+1);};
^
0_0_37727367_13883.cpp:10:61: error: 'i' is not captured
auto f=[](int x){if(i-x>=0&&dp[i-x]>-1)dp[i]=min((uint)dp[i],(uint)dp[i-x]+1);};
^
0_0_37727367_13883.cpp:10:73: error: 'i' is not captured
auto f=[](int x){if(i-x>=0&&dp[i-x]>-1)dp[i]=min((uint)dp[i],(uint)dp[i-x]+1);};
^
|