meetings.cpp: In function 'std::vector<long long int> minimum_costs(std::vector<long long int>, std::vector<long long int>, std::vector<long long int>)':
meetings.cpp:8:10: error: 'll' was not declared in this scope
8 | vector<ll> ans(q);
| ^~
meetings.cpp:8:12: error: template argument 1 is invalid
8 | vector<ll> ans(q);
| ^
meetings.cpp:8:12: error: template argument 2 is invalid
meetings.cpp:9:17: error: template argument 2 is invalid
9 | vector<vector<ll>> mn(n,vector<ll>(n,1e18));
| ^~
meetings.cpp:9:19: error: template argument 1 is invalid
9 | vector<vector<ll>> mn(n,vector<ll>(n,1e18));
| ^~
meetings.cpp:9:19: error: template argument 2 is invalid
meetings.cpp:9:36: error: template argument 2 is invalid
9 | vector<vector<ll>> mn(n,vector<ll>(n,1e18));
| ^
meetings.cpp:9:45: error: expression list treated as compound expression in initializer [-fpermissive]
9 | vector<vector<ll>> mn(n,vector<ll>(n,1e18));
| ^
meetings.cpp:12:7: error: invalid types 'int[long long int]' for array subscript
12 | mn[i][i] = H[i];
| ^
meetings.cpp:16:11: error: invalid types 'int[long long int]' for array subscript
16 | mn[j][i] = curr;
| ^
meetings.cpp:20:11: error: invalid types 'int[long long int]' for array subscript
20 | mn[j][i] = curr;
| ^
meetings.cpp:25:11: error: invalid types 'int[long long int]' for array subscript
25 | mn[j][i] += mn[j-1][i];
| ^
meetings.cpp:25:23: error: invalid types 'int[long long int]' for array subscript
25 | mn[j][i] += mn[j-1][i];
| ^
meetings.cpp:31:7: error: expected ';' before 'cnt'
31 | ll cnt = 1e18;
| ^~~~
| ;
meetings.cpp:33:19: error: 'cnt' was not declared in this scope; did you mean 'int'?
33 | if(l == 0)cnt = min(cnt,mn[r][i]);
| ^~~
| int
meetings.cpp:33:35: error: invalid types 'int[long long int]' for array subscript
33 | if(l == 0)cnt = min(cnt,mn[r][i]);
| ^
meetings.cpp:34:14: error: 'cnt' was not declared in this scope; did you mean 'int'?
34 | else cnt = min(cnt,mn[r][i]-mn[l-1][i]);
| ^~~
| int
meetings.cpp:34:30: error: invalid types 'int[long long int]' for array subscript
34 | else cnt = min(cnt,mn[r][i]-mn[l-1][i]);
| ^
meetings.cpp:34:39: error: invalid types 'int[long long int]' for array subscript
34 | else cnt = min(cnt,mn[r][i]-mn[l-1][i]);
| ^
meetings.cpp:36:8: error: invalid types 'int[long long int]' for array subscript
36 | ans[v] = cnt;
| ^
meetings.cpp:36:14: error: 'cnt' was not declared in this scope; did you mean 'int'?
36 | ans[v] = cnt;
| ^~~
| int
meetings.cpp:38:10: error: could not convert 'ans' from 'int' to 'std::vector<long long int>'
38 | return ans;
| ^~~
| |
| int