Problem | deforestation |
---|---|
User | samvar0907 |
Submission Time | 2024-01-08 23:43:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
deforestation.cpp: In function ‘int main()’:
deforestation.cpp:9:37: error: no match for ‘operator<’ (operand types are ‘int’ and ‘std::vector<int>’)
9 | #define FRA(i, n) for (int i = 0; i < n; i++)
| ^
......
32 | FRA(t, on[l]) {
| ~ ~~~~~
| | |
| int std::vector<int>
deforestation.cpp:32:9: note: in expansion of macro ‘FRA’
32 | FRA(t, on[l]) {
| ^~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from deforestation.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:454:5: note: candidate: ‘template<class _T1,