Problem simp
User blob
Submission Time 2023-11-22 11:16:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp:4:8: error: expected unqualified-id before ‘int’
4 | int n, int a1, int a2, int b1, int b2, int c1, int c2
| ^~~
simp.cpp:24:2: error: expected declaration before ‘}’ token
24 | }
| ^
simp.cpp: In function ‘int main()’:
simp.cpp:33:9: error: ‘canMakeKaiHappy’ was not declared in this scope
33 | if (canMakeKaiHappy(n, a1, a2, b1, b2, c1, c2)) {
| ^~~~~~~~~~~~~~~