Problem psle
User totallykaiyuan
Submission Time 2026-03-08 17:57:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:6:9: error: expected primary-expression before ‘int’
6 | cin >> int a;
| ^~~
psle.cpp:7:24: error: ‘A’ was not declared in this scope
7 | if (a >= 91) {cout << A*;}
| ^
psle.cpp:7:26: error: expected primary-expression before ‘;’ token
7 | if (a >= 91) {cout << A*;}
| ^
psle.cpp:8:31: error: expected primary-expression before ‘)’ token
8 | else if (a <= 75 and a >= 90;) {cout << A}
| ^
psle.cpp:8:42: error: ‘A’ was not declared in this scope
8 | else if (a <= 75 and a >= 90;) {cout << A}
| ^
psle.cpp:9:31: error: expected primary-expression before ‘)’ token
9 | else if (a <= 60 and a >= 74;) {cout << B}
| ^