Problem typo
User theRealLucasXD
Submission Time 2025-05-23 20:59:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp:1:2: error: invalid preprocessing directive #using
1 | #using <bits/stdc++.h>
| ^~~~~
typo.cpp: In function ‘int main()’:
typo.cpp:5:2: error: ‘string’ was not declared in this scope
5 | 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 <bits/stdc++.h>
typo.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | 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 <bits/stdc++.h>
typo.cpp:6:9: error: ‘S’ was not declared in this scope
6 | cin >> S >> T;
| ^
typo.cpp:6:14: error: ‘T’ was not declared in this scope
6 | cin >> S >> T;