0_0_29013284_7726.cpp: In function 'void solve(int, int*, int*, int*)':
0_0_29013284_7726.cpp:11:13: error: two or more data types in declaration of 'type name'
vector<int int> vec;
^
0_0_29013284_7726.cpp:11:16: error: template argument 1 is invalid
vector<int int> vec;
^
0_0_29013284_7726.cpp:11:16: error: template argument 2 is invalid
0_0_29013284_7726.cpp:11:21: error: invalid type in declaration before ';' token
vector<int int> vec;
^
0_0_29013284_7726.cpp:16:9: error: request for member 'push_back' in 'vec', which is of non-class type 'int'
vec.push_back(val);
^
0_0_29013284_7726.cpp:20:13: error: request for member 'begin' in 'vec', which is of non-class type 'int'
sort(vec.begin(), vec.end());
^
0_0_29013284_7726.cpp:20:26: error: request for member 'end' in 'vec', which is of non-class type 'int'
sort(vec.begin(), vec.end());
^
0_0_29013284_7726.cpp:23:25: error: invalid types 'int[int]' for array subscript
res = (res + vec[l++]) % 1000000007;
^
|