cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:17:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
17 | if(j && dp[j-1] != -1) ans = min(ans, c[i]/(1<<j-1) + dp[j-1]);
| ~^~
cyberland.cpp:21:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
21 | if(dp[j-k] != -1) ans = min(ans, c[i]/(1<<j-k) + dp[j-k] + mc);
| ~^~
cyberland.cpp:35:1: error: expected '}' at end of input
35 | }
| ^
cyberland.cpp:3:123: note: to match this '{'
3 | double solve(int N, int M, int K, int H, std::vector<int> x, std::vector<int> y, std::vector<int> c, std::vector<int> arr){
| ^
cyberland.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type]
35 | }
| ^