Problem | party |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-04-05 14:30:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
party.cpp: In function ‘int main()’:
party.cpp:16:6: error: declaration of ‘auto x’ has no initializer
16 | for(auto x; arr[1]){
| ^~~~
party.cpp:16:19: error: could not convert ‘arr[1]’ from ‘std::vector<int>’ to ‘bool’
16 | for(auto x; arr[1]){
| ~~~~~^
| |
| std::vector<int>
party.cpp:16:20: error: expected ‘;’ before ‘)’ token
16 | for(auto x; arr[1]){
| ^
| ;
party.cpp:22:9: error: declaration of ‘auto x’ has no initializer
22 | for(auto x; arr[q.front()]){
| ^~~~
party.cpp:22:30: error: could not convert ‘arr[q.std::queue<int>::front()]’ from ‘std::vector<int>’ to ‘bool’
22 | for(auto x; arr[q.front()]){
| ~~~~~~~~~~~~~^
| |
| std::vector<