Problem sixandseven
User laffey0401
Submission Time 2026-06-26 14:39:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:20:14: error: expected ‘;’ before ‘}’ token
20 | cout << "NO"
| ^
| ;
21 | }
| ~
sixandseven.cpp:24:1: error: ‘else’ without a previous ‘if’
24 | else if (n == 167);
| ^~~~
sixandseven.cpp:26:1: error: ‘else’ without a previous ‘if’
26 | else if (n == 267);
| ^~~~
sixandseven.cpp:28:1: error: ‘else’ without a previous ‘if’
28 | else if (n == 367);
| ^~~~
sixandseven.cpp:30:1: error: ‘else’ without a previous ‘if’
30 | else if (n == 467);
| ^~~~
sixandseven.cpp:32:1: error: ‘else’ without a previous ‘if’
32 | else if (n == 567);
| ^~~~
sixandseven.cpp:34:1: error: ‘else’ without a previous ‘if’
34 | else if (n == 667);
| ^~~~
sixandseven.cpp:36:1: error: ‘else’ without a previous ‘if’
36 | else if (n == 767);
| ^~~~