worm.cpp: In function 'int main()':
worm.cpp:35:9: error: 'last' was not declared in this scope; did you mean 'std::chrono::last'?
35 | last=midl;
| ^~~~
| std::chrono::last
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:101,
from worm.cpp:1:
/usr/include/c++/11/chrono:1276:32: note: 'std::chrono::last' declared here
1276 | inline constexpr last_spec last{};
| ^~~~
worm.cpp:39:9: error: 'last' was not declared in this scope; did you mean 'std::chrono::last'?
39 | last=midc;
| ^~~~
| std::chrono::last
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:101,
from worm.cpp:1:
/usr/include/c++/11/chrono:1276:32: note: 'std::chrono::last' declared here
1276 | inline constexpr last_spec last{};
| ^~~~
worm.cpp:54:9: error: 'last' was not declared in this scope; did you mean 'std::chrono::last'?
54 | last=midANS;
| ^~~~
| std::chrono::last
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:101,
from worm.cpp:1:
/usr/include/c++/11/chrono:1276:32: note: 'std::chrono::last' declared here
1276 | inline constexpr last_spec last{};
| ^~~~