Problem | fish |
---|---|
User | kxd |
Submission Time | 2024-05-16 17:12:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fish.cpp: In function ‘long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
fish.cpp:47:10: error: expected primary-expression before ‘=’ token
47 | } else {=
| ^
fish.cpp:13:19: error: expected primary-expression before ‘for’
13 | #define forn(i,n) for (int i = 0; i < n; i++)
| ^~~
fish.cpp:48:3: note: in expansion of macro ‘forn’
48 | forn(i,m) {
| ^~~~
fish.cpp:48:8: error: ‘i’ was not declared in this scope
48 | forn(i,m) {
| ^
fish.cpp:13:35: note: in definition of macro ‘forn’
13 | #define forn(i,n) for (int i = 0; i < n; i++)
| ^