Problem | tickets |
---|---|
User | Cookie |
Submission Time | 2024-06-30 13:55:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
tickets.cpp: In function ‘long long int sub4::solve()’:
tickets.cpp:103:48: error: ‘n’ was not declared in this scope
103 | res[cand[i].fi][cand[i].se] = i / (n / 2);
| ^
tickets.cpp: In function ‘long long int find_maximum(int, std::vector<std::vector<int> >)’:
tickets.cpp:115:12: error: ‘x’ was not declared in this scope
115 | w = sz(x); h = sz(x[0]); g = k;
| ^
tickets.cpp:4:20: note: in definition of macro ‘sz’
4 | #define sz(a) (int)a.size()
| ^