Problem | towers_noi |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-04 12:49:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
towers_noi.cpp: In function ‘int32_t main()’:
towers_noi.cpp:64:9: error: request for member ‘empty’ in ‘a’, which is of non-class type ‘long long int’
64 | if (a.empty())continue;
| ^~~~~
towers_noi.cpp:65:10: error: ‘i’ was not declared in this scope
65 | insert(i, *a.begin());
| ^
towers_noi.cpp:65:16: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘long long int’
65 | insert(i, *a.begin());
| ^~~~~
towers_noi.cpp:66:19: error: request for member ‘end’ in ‘a’, which is of non-class type ‘long long int’
66 | insert(i, *(--a.end()));
| ^~~