| Problem | dijkstra |
|---|---|
| User | RogueRanger |
| Submission Time | 2026-02-10 09:22:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
dijkstra.cpp:5:21: error: expected initializer before numeric constant
5 | const long long BIG 1e9;
| ^~~
dijkstra.cpp: In function ‘int32_t main()’:
dijkstra.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
dijkstra.cpp:7:2: note: in expansion of macro ‘int’
7 | int V,E; cin>>V>>E;
| ^~~
dijkstra.cpp:7:6: error: ‘V’ was not declared in this scope
7 | int V,E; cin>>V>>E;
| ^
dijkstra.cpp:7:8: error: ‘E’ was not declared in this scope
7 | int V,E; cin>>V>>E;
| ^
dijkstra.cpp:3:18: error: wrong number of template arguments (1, should be 2)
3 | #define int long long;
| ^~~~
dijkstra.cpp:8:21: note: in expansion of macro ‘int’
8 | vector<vector<pair<int,int>>> adj(V+1); //adj[x1] = {(x2, w),