0_0_30073815_27166.cpp: In function 'void Main()':
0_0_30073815_27166.cpp:88:32: error: no matching function for call to 'chkmax(double&, float&)'
chkmax(ans,a[(i+R)*M+j+R].re);
^
0_0_30073815_27166.cpp:88:32: note: candidate is:
0_0_30073815_27166.cpp:17:30: note: template<class T> bool chkmax(T&, const T&)
template<class T>inline bool chkmax(T &a,T const &b){
^
0_0_30073815_27166.cpp:17:30: note: template argument deduction/substitution failed:
0_0_30073815_27166.cpp:88:32: note: deduced conflicting types for parameter 'const T' ('double' and 'float')
chkmax(ans,a[(i+R)*M+j+R].re);
^
|