Problem psle
User fartyoudie
Submission Time 2026-06-22 21:12:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:5:1: error: ‘cin’ was not declared in this scope
5 | cin>>x;
| ^~~
psle.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
psle.cpp:7:2: error: ‘cout’ was not declared in this scope
7 | cout<<"A*";
| ^~~~
psle.cpp:7:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
psle.cpp:9:2: error: ‘cout’ was not declared in this scope
9 | cout<<"A";
| ^~~~
psle.cpp:9:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
psle.cpp:11:2: error: ‘cout’ was not declared in this scope
11 | cout<<"B";
| ^~~~
psle.cpp:11:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#inc