Problem | fish |
---|---|
User | kxd |
Submission Time | 2024-05-16 16:56:32 |
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 ‘long long int max_weights(long long int, long long int, long long int*)’:
fish.cpp:37:19: error: ‘w’ was not declared in this scope
37 | forn(i,m) ans += w[i];
| ^