Problem typoswap
User Yvonne
Submission Time 2024-06-21 13:17:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:10: error: unable to find string literal operator ‘operator""endl’ with ‘const char [3]’, ‘long unsigned int’ arguments
6 | cout << "A:"endl;
| ^~~~~~~~
typoswap.cpp:8:9: error: unable to find string literal operator ‘operator""endl’ with ‘const char [3]’, ‘long unsigned int’ arguments
8 | cout << "B:"endl;
| ^~~~~~~~
typoswap.cpp:11:26: error: unable to find string literal operator ‘operator""endl’ with ‘const char [13]’, ‘long unsigned int’ arguments
11 | cout << "A = "<<A<<" , B = <<B<<"endl;
| ^~~~~~~~~~~~~~~~~~