Problem dayum
User niicoletong
Submission Time 2025-06-20 13:37:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int main()’:
dayum.cpp:9:14: error: expected ‘;’ before ‘if’
9 | cin >> a[i]
| ^
| ;
10 | if (n = 16) {
| ~~
dayum.cpp:12:5: error: ‘else’ without a previous ‘if’
12 | } else if (n = 17) {
| ^~~~
dayum.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
dayum.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^