Problem psle
User totallykaiyuan
Submission Time 2026-03-08 17:56:55
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:41: error: ‘A’ was not declared in this scope
8 | else if (a <= 75 and a >= 90) {cout << A}
| ^
psle.cpp:9:41: error: ‘B’ was not declared in this scope
9 | else if (a <= 60 and a >= 74) {cout << B}
| ^
psle.cpp:10:41: error: ‘C’ was not declared in this scope
10 | else if (a <= 50 and a >= 59) {cout << C}
| ^
psle.