Problem | paint |
---|---|
User | ATHY |
Submission Time | 2024-06-10 13:34:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
paint.cpp: In function ‘int main()’:
paint.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> n;
| ^~~
paint.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
paint.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<int> initialPrices(n);
| ^~~~~~
paint.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | using namespace std;
paint.cpp:7:12: error: expected primary-expression before ‘int’
7 | vector<int> initialPrices(n);
| ^~~
paint.cpp:8:12: error: expected primary-expression before ‘int’
8 | vector<int> dailyIncrease(n);
| ^~~
paint.cpp:11:16: error: ‘initialPrices’ w