paint.cpp: In function 'int main()':
paint.cpp:6:18: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
6 | vector<100010> c(n), a(m), dp(n);
| ^
paint.cpp:6:18: note: expected a type, got '100010'
paint.cpp:6:18: error: template argument 2 is invalid
paint.cpp:9:15: error: invalid types 'int[int]' for array subscript
9 | cin>>c[i];
| ^
paint.cpp:10:11: error: invalid types 'int[int]' for array subscript
10 | dp[i] = n + 1;
| ^
paint.cpp:13:15: error: invalid types 'int[int]' for array subscript
13 | cin>>a[i];
| ^
paint.cpp:14:34: error: invalid types 'int[int]' for array subscript
14 | b.push_back(vector<int>(a[i]));
| ^
paint.cpp:15:29: error: invalid types 'int[int]' for array subscript
15 | for(int j = 0; j < a[i]; j++){
| ^
paint.cpp:30:32: error: invalid types 'int[int]' for array subscript
30 | while(oo < m && is[o][c[oo]]){
| ^
paint.cpp:35:42: error: invalid types 'int[int]' for array subscript
35 | for(int j = 0; j < m; j++) dp[j] = 1;
| ^
paint.cpp:41:40: error: invalid types 'int[int]' for array subscript
41 | while(oo < i + m && is[o][c[oo]]){
| ^
paint.cpp:47:23: error: invalid types 'int[int]' for array subscript
47 | dp[l] = min(dp[l], dp[i - 1] + 1);
| ^
paint.cpp:47:35: error: invalid types 'int[int]' for array subscript
47 | dp[l] = min(dp[l], dp[i - 1] + 1);
| ^
paint.cpp:47:42: error: invalid types 'int[int]' for array subscript
47 | dp[l] = min(dp[l], dp[i - 1] + 1);
| ^
paint.cpp:52:13: error: invalid types 'int[int]' for array subscript
52 | cout<<dp[n - 1];
| ^