Problem | routine |
---|---|
User | chickengoat |
Submission Time | 2025-03-15 21:38:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
routine.cpp: In function ‘int main()’:
routine.cpp:5:2: error: declaration of ‘auto location’ has no initializer
5 | auto location;
| ^~~~
routine.cpp:6:2: error: declaration of ‘auto querynum’ has no initializer
6 | auto querynum;
| ^~~~
routine.cpp:8:7: error: ‘time’ declared as array of ‘auto’
8 | auto time[location];
| ^~~~
routine.cpp:9:7: error: ‘place’ declared as array of ‘auto’
9 | auto place[location];
| ^~~~~
routine.cpp:11:7: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘time_t(time_t*) noexcept’ {aka ‘long int(long int*) noexcept’})
11 | cin >> time[item];
| ~~~ ^~ ~~~~~~~~~~
| | |
| | time_t(time_t*) noexcept {aka long int(long int*) noexcept}
| std::istream {aka std::basic_istream<char>}
In file included from /us