Problem dayum
User YYC
Submission Time 2025-06-20 13:23:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int main()’:
dayum.cpp:5:8: error: ‘N’ was not declared in this scope
5 | cin >> N;
| ^
dayum.cpp:12:1: error: ‘else’ without a previous ‘if’
12 | else if (N=16){
| ^~~~
dayum.cpp:13:9: error: expected primary-expression before ‘int’
13 | cout<< int 1;
| ^~~
dayum.cpp:16:9: error: expected primary-expression before ‘int’
16 | cout<< int 2;
| ^~~
dayum.cpp:19:9: error: expected primary-expression before ‘int’
19 | cout<< int 3;
| ^~~
dayum.cpp:22:9: error: expected primary-expression before ‘int’
22 | cout<< int 4;
| ^~~
dayum.cpp:25:9: error: expected primary-expression before ‘int’
25 | cout<< int 5;
| ^~~
dayum.cpp:25:14: error: expected ‘}’ at end of input
25 | cout<< int 5;
| ^
dayum.cpp:3:12: note: to matc