Problem simp
User Hytoh
Submission Time 2023-05-28 12:05:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:11:3: error: expected ‘,’ or ‘;’ before ‘for’
11 | for (int i = 0; i < 2; i++) {
| ^~~
simp.cpp:11:19: error: ‘i’ was not declared in this scope
11 | for (int i = 0; i < 2; i++) {
| ^
simp.cpp:21:17: error: expected ‘;’ before ‘}’ token
21 | ans = "NO\n"
| ^
| ;
22 | }
| ~
simp.cpp:24:17: error: expected ‘;’ before ‘}’ token
24 | ans = "NO\n"
| ^
| ;
25 | }
| ~
simp.cpp:27:17: error: expected ‘;’ before ‘}’ token
27 | ans = "NO\n"
| ^
| ;
28 | }
| ~