Problem | tickethandling |
---|---|
User | blob |
Submission Time | 2023-12-13 15:19:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
tickethandling.cpp: In function ‘int main()’:
tickethandling.cpp:10:12: error: expected ‘;’ before ‘-’ token
10 | for (int i - 0;i < n; i++){
| ^~
| ;
tickethandling.cpp:10:21: error: ‘n’ was not declared in this scope
10 | for (int i - 0;i < n; i++){
| ^
tickethandling.cpp:10:22: error: expected ‘)’ before ‘;’ token
10 | for (int i - 0;i < n; i++){
| ~ ^
| )
tickethandling.cpp:10:24: error: ‘i’ was not declared in this scope
10 | for (int i - 0;i < n; i++){
| ^
tickethandling.cpp: At global scope:
tickethandling.cpp:35:1: error: expected unqualified-id before ‘return’
35 | return 0;
| ^~~~~~
tickethandling.cpp:36:1: error: expected declaration before ‘}’ token
36 | }
| ^