Problem | tickets |
---|---|
User | Cookie |
Submission Time | 2024-06-30 13:54:05 |
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:102:36: error: ‘k’ was not declared in this scope
102 | for(int i = 0; i < w / 2 * k; i++){
| ^
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:106:29: error: ‘k’ was not declared in this scope
106 | for(int i = w / 2 * k; i < w * k; i++){
| ^
tickets.cpp:107:49: error: ‘n’ was not declared in this scope
107 | res[cand[i].fi][cand[i].se] = (i - (n / 2 * k)) / (n / 2);
| ^
tickets.cpp: In function ‘long long int find_maximum(int, std::vector<std::vector<int> >)’:
tickets.cpp:115:16: error: ‘x’ was not declared in this scope
115 | int w = sz(x); h =