Problem | aliens_ioi |
---|---|
User | PlayVoltz |
Submission Time | 2024-01-10 13:23:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
aliens_ioi.cpp: In function ‘long long int cost(long long int, long long int)’:
aliens_ioi.cpp:24:12: error: ‘c’ was not declared in this scope
24 | return sq(c[i]-r[j+1]+1)-sq(max(0ll, c[j]-r[j+1]+1));
| ^
aliens_ioi.cpp:24:14: error: ‘i’ was not declared in this scope
24 | return sq(c[i]-r[j+1]+1)-sq(max(0ll, c[j]-r[j+1]+1));
| ^
aliens_ioi.cpp:24:19: error: ‘j’ was not declared in this scope
24 | return sq(c[i]-r[j+1]+1)-sq(max(0ll, c[j]-r[j+1]+1));
| ^
aliens_ioi.cpp: In function ‘long long int take_photos(int, int, int, std::vector<int>, std::vector<int>)’:
aliens_ioi.cpp:37:10: error: ‘_k’ was not declared in this scope; did you mean ‘_n’?
37 | m=_m, k=_k;
| ^~
| _n
aliens_ioi.cpp:42:76: error: no matching function for call to ‘std::vector<std::pair<long long int, long long int> >::push_back(std::vector<s