In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdbool:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:56,
from 0_0_36056705_20706.cpp:1:
0_0_36056705_20706.cpp: In lambda function:
0_0_36056705_20706.cpp:59:30: error: inconsistent types 'int' and 'bool' deduced for lambda return type
if (dp[i] < A[i]) return false;
^
0_0_36056705_20706.cpp:61:11: error: inconsistent types 'int' and 'bool' deduced for lambda return type
return true;
^
|