| Problem | findingpavement |
|---|---|
| User | estkn |
| Submission Time | 2026-01-17 12:57:45 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:4:15: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
4 | int H, W; cin >> H >> W;
| ^~~
| std::cin
In file included from findingpavement.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
findingpavement.cpp:8:13: error: ‘string’ was not declared in this scope
8 | string S; cin >> S;
| ^~~~~~
findingpavement.cpp:8:13: note: suggested alternatives:
In file included from /usr/include/c++/9/iosfwd:39,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from findingpavement.cpp:1:
/usr/include/c++/9/bits/stringfwd.h:79:33: