Problem | typo |
---|---|
User | Someone |
Submission Time | 2024-06-19 10:33:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:4:5: error: ‘string’ was not declared in this scope
4 | string S, T;
| ^~~~~~
typo.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | using namespace std;
typo.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> S >> T;
| ^~~
typo.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
typo.cpp:5:12: error: ‘S’ was not declared in this scope
5 | cin >> S >> T;
| ^
typo.cpp:5:17: error: ‘T’ was not declared in this scope
5 | cin >> S >> T;
| ^
typo.cpp:11:9: error: ‘cout’ was not declared in this scope
11 | cout <&