cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:9:50: error: expected ')' before '*' token
9 | adj[y[i]].push_back({x[i], (double) c[i]} * 1.00});
| ~ ^~
| )
cyberland.cpp:9:58: error: expected primary-expression before ')' token
9 | adj[y[i]].push_back({x[i], (double) c[i]} * 1.00});
| ^
cyberland.cpp:10:5: warning: no return statement in function returning non-void [-Wreturn-type]
10 | }
| ^
cyberland.cpp: At global scope:
cyberland.cpp:11:31: error: 'N' was not declared in this scope
11 | vector<vector<double>> dp(N + 1, vector<double>(K + 1, inf));
| ^
cyberland.cpp:11:53: error: 'K' was not declared in this scope
11 | vector<vector<double>> dp(N + 1, vector<double>(K + 1, inf));
| ^
cyberland.cpp:13:5: error: 'pq' does not name a type
13 | pq.push({0, -K, 0}); dp[0][K] = 0;
| ^~
cyberland.cpp:13:23: error: expected unqualified-id before ')' token
13 | pq.push({0, -K, 0}); dp[0][K] = 0;
| ^
cyberland.cpp:13:26: error: 'dp' does not name a type
13 | pq.push({0, -K, 0}); dp[0][K] = 0;
| ^~
cyberland.cpp:14:5: error: expected unqualified-id before 'while'
14 | while(pq.size()){
| ^~~~~
cyberland.cpp:34:5: error: expected unqualified-id before 'for'
34 | for(int i = 0; i <= K; ++i) ans = min(ans, dp[H][i]);
| ^~~
cyberland.cpp:34:20: error: 'i' does not name a type
34 | for(int i = 0; i <= K; ++i) ans = min(ans, dp[H][i]);
| ^
cyberland.cpp:34:28: error: expected unqualified-id before '++' token
34 | for(int i = 0; i <= K; ++i) ans = min(ans, dp[H][i]);
| ^~
cyberland.cpp:35:5: error: expected unqualified-id before 'return'
35 | return ((ans >= inf) ? -1 : ans);
| ^~~~~~
cyberland.cpp:36:1: error: expected declaration before '}' token
36 | }
| ^