Problem | goodprogrammer |
---|---|
User | gtiamthebest |
Submission Time | 2024-01-21 00:42:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goodprogrammer.cpp: In function ‘int main()’:
goodprogrammer.cpp:7:2: error: ‘sleep_for’ was not declared in this scope; did you mean ‘std::this_thread::sleep_for’?
7 | sleep_for(10ns);
| ^~~~~~~~~
| std::this_thread::sleep_for
In file included from goodprogrammer.cpp:4:
/usr/include/c++/9/thread:366:7: note: ‘std::this_thread::sleep_for’ declared here
366 | sleep_for(const chrono::duration<_Rep, _Period>& __rtime)
| ^~~~~~~~~