Problem | ccs |
---|---|
User | Maskaphobia |
Submission Time | 2024-01-31 16:19:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp:11:15: error: missing terminating " character
11 | if (event == "TRANSIT) {
| ^~~~~~~~~~~
ccs.cpp: In function ‘int main()’:
ccs.cpp:11:6: error: ‘event’ was not declared in this scope; did you mean ‘sigevent’?
11 | if (event == "TRANSIT) {
| ^~~~~
| sigevent
ccs.cpp:12:3: error: expected primary-expression before ‘int’
12 | int a, b;
| ^~~
ccs.cpp:13:10: error: ‘a’ was not declared in this scope
13 | cin >> a >> b;
| ^
ccs.cpp:13:15: error: ‘b’ was not declared in this scope
13 | cin >> a >> b;
| ^
ccs.cpp:13:16: error: expected ‘)’ before ‘;’ token
13 | cin >> a >> b;
| ^
| )
ccs.cpp:11:5: note: to match this ‘(’
11 | if (event == "TRANSIT) {
| ^
ccs.cpp:14:30: error: ‘a’ was not declared in this scope