Problem | typo |
---|---|
User | ToiletBrIcker |
Submission Time | 2024-06-19 09:47:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:6:2: error: ‘string’ was not declared in this scope
6 | string S,T;std::cin >> S >> T;
| ^~~~~~
typo.cpp:6:2: note: suggested alternatives:
In file included from /usr/include/c++/9/string:39,
from typo.cpp:3:
/usr/include/c++/9/bits/stringfwd.h:79:33: note: ‘std::string’
79 | typedef basic_string<char> string;
| ^~~~~~
In file included from typo.cpp:3:
/usr/include/c++/9/string:67:11: note: ‘std::pmr::string’
67 | using string = basic_string<char>;
| ^~~~~~
typo.cpp:6:25: error: ‘S’ was not declared in this scope
6 | string S,T;std::cin >> S >> T;
| ^
typo.cpp:6:30: error: ‘T’ was not declared in this scope
6 | string S,T;std::cin >> S >> T;
| ^
typo.cpp:7:2: