0_0_28616394_31438.cpp:10:19: error: expected ',' or '...' before 'num'
int con_max(int[] num, int len_num, int &a, int &b) {
^
0_0_28616394_31438.cpp: In function 'int con_max(int*)':
0_0_28616394_31438.cpp:11:15: error: 'num' was not declared in this scope
int rnt = num[0];
^
0_0_28616394_31438.cpp:13:24: error: 'len_num' was not declared in this scope
for(int i = 1; i < len_num; ++i) {
^
0_0_28616394_31438.cpp:17:13: error: 'b' was not declared in this scope
b = i;
^
0_0_28616394_31438.cpp:21:13: error: 'a' was not declared in this scope
a = lmin;
^
0_0_28616394_31438.cpp: In function 'int main()':
0_0_28616394_31438.cpp:32:5: error: 'i' was not declared in this scope
i = 0;
^
0_0_28616394_31438.cpp:33:5: error: 'tag' was not declared in this scope
tag = 0;
^
0_0_28616394_31438.cpp:40:58: error: too many arguments to function 'int con_max(int*)'
int res = con_max(number, len_arr, bg_tag, ed_tag);
^
0_0_28616394_31438.cpp:10:5: note: declared here
int con_max(int[] num, int len_num, int &a, int &b) {
^
|