0_0_33517040_20167.cpp: In function 'int main()':
0_0_33517040_20167.cpp:17:33: error: 'ans' was not declared in this scope
if(m%x==0)res = min(ans, m/x*y);
^
0_0_33517040_20167.cpp:18:19: error: 'ans' was not declared in this scope
else res = min(ans,(m/x+1)*y);
^
|