| Problem | 3nplus1II |
|---|---|
| User | chenyuming |
| Submission Time | 2026-11-02 11:14:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:8:23: error: expected ‘;’ before ‘int’
8 | cout << length << " "
| ^
| ;
9 | int time;
| ~~~
3nplus1II.cpp:10:6: 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’})
10 | cin >> time;
| ~~~ ^~ ~~~~
| | |
| | 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,
from 3nplus1II.cpp:1:
/usr/include/c++