Problem | paint |
---|---|
User | Henries |
Submission Time | 2024-09-30 23:29:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
paint.cpp: In function ‘void solve(std::vector<long long int>, std::vector<long long int>)’:
paint.cpp:5:18: error: expected primary-expression before ‘{’ token
5 | while (price != {}){
| ^
paint.cpp:5:17: error: expected ‘)’ before ‘{’ token
5 | while (price != {}){
| ~ ^~
| )
paint.cpp:5:20: error: expected primary-expression before ‘)’ token
5 | while (price != {}){
| ^
paint.cpp: In function ‘int main()’:
paint.cpp:22:9: error: ‘push_back’ was not declared in this scope
22 | price,push_back(num);
| ^~~~~~~~~
paint.cpp:26:9: error: too few arguments to function ‘void solve(std::vector<long long int>, std::vector<long long int>)’
26 | solve()
| ^
paint.cpp:3:6: note: declared here
3 | void solve(vector<long long> price, vector<long long> rates){