Problem charges
User jeongwonho64
Submission Time 2023-06-04 09:02:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

charges.cpp: In function ‘void merge(int, int, bool)’:
charges.cpp:17:11: error: a function-definition is not allowed here before ‘{’ token
17 | int main(){
| ^
charges.cpp:41:1: error: expected ‘}’ at end of input
41 | }
| ^
charges.cpp:13:31: note: to match this ‘{’
13 | void merge(int a,int b,bool r){
| ^