Problem typoswap
User Midnight
Submission Time 2026-06-30 20:01:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp:1:1: error: stray ‘`’ in program
1 | `#include <bits/stdc++.h>
| ^
typoswap.cpp:1:2: error: stray ‘#’ in program
1 | `#include <bits/stdc++.h>
| ^
typoswap.cpp:1:3: error: ‘include’ does not name a type
1 | `#include <bits/stdc++.h>
| ^~~~~~~
typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:2: error: ‘string’ was not declared in this scope
6 | string A;
| ^~~~~~
typoswap.cpp:7:8: error: expected ‘;’ before ‘B’
7 | string B;
| ^~
| ;
typoswap.cpp:8:2: error: ‘cin’ was not declared in this scope
8 | cin>>A>>B;
| ^~~
typoswap.cpp:8:7: error: ‘A’ was not declared in this scope
8 | cin>>A>>B;
| ^
typoswap.cpp:8:10: error: ‘B’ was not declared in this scope
8 | cin>>A>>B;
| ^
typoswap.cpp:9:2: error: ‘cout’ was not decla