Problem | skyscraper_apio15 |
---|---|
User | NsNassCode |
Submission Time | 2024-07-04 17:23:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
skyscraper_apio15.cpp:1:1: error: ‘vector’ does not name a type
1 | vector<vector<pair<int, int>>> graph(N);
| ^~~~~~
skyscraper_apio15.cpp:2:1: error: ‘vector’ does not name a type
2 | vector<int> dist(N, INT_MAX);
| ^~~~~~
skyscraper_apio15.cpp:3:1: error: ‘vector’ does not name a type
3 | vector<int> prev(N, -1);
| ^~~~~~
skyscraper_apio15.cpp:5:1: error: expected unqualified-id before ‘for’
5 | for (int i = 0; i < M; i++) {
| ^~~
skyscraper_apio15.cpp:5:17: error: ‘i’ does not name a type
5 | for (int i = 0; i < M; i++) {
| ^
skyscraper_apio15.cpp:5:24: error: ‘i’ does not name a type
5 | for (int i = 0; i < M; i++) {
| ^
skyscraper_apio15.cpp:12:1: error: ‘dist’ does not name a type
12 | dist[0] = 0;
| ^~~~
skyscraper_apio15.cpp:13:1: error: ‘priority_queue’ does not name a