Main.cc: In member function ‘void Solution::solve(i64, int, int)’:
Main.cc:46:19: error: ‘max’ was not declared in this scope
ans = max(ans, len * power[int(sqrt(double(y) / cur))]);
^~~
Main.cc:46:19: note: suggested alternative: ‘fmax’
ans = max(ans, len * power[int(sqrt(double(y) / cur))]);
^~~
fmax