Problem simp
User potatocabbage
Submission Time 2024-11-08 11:06:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
simp.cpp: In function ‘int main()’:
simp.cpp:18:13: error: ‘no’ was not declared in this scope; did you mean ‘n’?
18 | happy = no;
| ^~
| n
simp.cpp:23:17: error: expected ‘;’ before ‘}’ token
23 | cout << "NO"
| ^
| ;
24 | }
| ~