Problem | routine |
---|---|
User | chickengoat |
Submission Time | 2025-03-15 21:38:56 |
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: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 /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,