Problem general
User dragons
Submission Time 2023-11-17 17:04:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

general.cpp: In function ‘void merge(int, int)’:
general.cpp:27:26: error: a function-definition is not allowed here before ‘{’ token
27 | int battle(int x, int y) {
| ^
general.cpp:42:12: error: a function-definition is not allowed here before ‘{’ token
42 | int main() {
| ^
general.cpp:52:1: error: expected ‘}’ at end of input
52 | }
| ^
general.cpp:25:26: note: to match this ‘{’
25 | void merge(int a, int b) {
| ^