Problem simp
User fueh
Submission Time 2024-02-22 20:56:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘bool isValid(int, int, int, int, int)’:
simp.cpp:15:51: error: a function-definition is not allowed here before ‘{’ token
15 | bool isValid(int x, int y, int a1, int a2, int n) {
| ^
simp.cpp:21:77: error: a function-definition is not allowed here before ‘{’ token
21 | bool canMakeKaiHappy(int n, int a1, int a2, int b1, int b2, int c1, int c2) {
| ^
simp.cpp:41:12: error: a function-definition is not allowed here before ‘{’ token
41 | int main() {
| ^
simp.cpp:50:1: error: expected ‘}’ at end of input
50 | }
| ^
simp.cpp:6:51: note: to match this ‘{’
6 | bool isValid(int x, int y, int a1, int a2, int n) {
| ^