Problem | supplies |
---|---|
User | dzuizz |
Submission Time | 2024-11-13 15:07:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
supplies.cpp: In function ‘int main()’:
supplies.cpp:7:19: error: ‘cin’ was not declared in this scope
7 | int N, E, H, T; cin >> N >> E >> H >> T;
| ^~~
supplies.cpp:8:3: error: ‘vector’ was not declared in this scope
8 | vector<pair<int,int> > adj[N];
| ^~~~~~
supplies.cpp:8:10: error: ‘pair’ was not declared in this scope
8 | vector<pair<int,int> > adj[N];
| ^~~~
supplies.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
supplies.cpp:8:15: note: in expansion of macro ‘int’
8 | vector<pair<int,int> > adj[N];
| ^~~
supplies.cpp:10:8: error: ‘size_t’ was not declared in this scope
10 | for (size_t i=0; i<E; ++i) {
| ^~~~~~
supplies.cpp:1:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did