Problem | gotoubun |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-04 01:11:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoubun.cpp:6:1: error: ‘unordered_map’ does not name a type
6 | unordered_map<int, int> indexes;
| ^~~~~~~~~~~~~
gotoubun.cpp:7:1: error: ‘vector’ does not name a type
7 | vector <vector<int> > dp;
| ^~~~~~
gotoubun.cpp: In function ‘int ftsum(int, int)’:
gotoubun.cpp:13:8: error: ‘dp’ was not declared in this scope
13 | sum+=dp[index][gift];
| ^~
gotoubun.cpp: In function ‘void update(int, int, int)’:
gotoubun.cpp:22:3: error: ‘dp’ was not declared in this scope
22 | dp[index][gift]+=val;
| ^~
gotoubun.cpp: In function ‘int main()’:
gotoubun.cpp:29:2: error: ‘cin’ was not declared in this scope
29 | cin>>n;
| ^~~
gotoubun.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
gotoubun.cpp:30:2: error: ‘vector’ was no