Problem | fish |
---|---|
User | kxd |
Submission Time | 2024-05-16 16:56:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fish.cpp:35:37: error: expected ‘,’ or ‘...’ before ‘x’
35 | int max_weights(int n, int m, int[] x, int[] y, int[] w) {
| ^
fish.cpp: In function ‘int max_weights(int, int, int*)’:
fish.cpp:37:19: error: ‘w’ was not declared in this scope
37 | forn(i,m) ans += w[i];
| ^