Problem | 1609 |
---|---|
User | cobnet |
Submission Time | 2024-02-21 17:59:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
1609.cpp: In function ‘int main()’:
1609.cpp:3:22: error: ‘nanoseconds’ was not declared in this scope; did you mean ‘std::chrono::nanoseconds’?
3 | int main(){sleep_for(nanoseconds(1000000));cout << "1609";}
| ^~~~~~~~~~~
| std::chrono::nanoseconds
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:101,
from 1609.cpp:1:
/usr/include/c++/9/chrono:605:58: note: ‘std::chrono::nanoseconds’ declared here
605 | typedef duration<_GLIBCXX_CHRONO_INT64_T, nano> nanoseconds;
| ^~~~~~~~~~~
1609.cpp:3:12: error: ‘sleep_for’ was not declared in this scope; did you mean ‘std::this_thread::sleep_for’?
3 | int main(){sleep_for(nanoseconds(1000000));cout << "1609";}
| ^~~~~~~~~
| std::this_thread::sleep_for
In file included from /usr/incl