Dijkstros algoritmas
- [1] 2023-07-01 11:37 (33.3)
- [2] 2023-07-01 11:40 (33.3)
- [3] 2023-07-01 11:40 (33.3)
- [4] 2023-07-01 11:41 (33.3)
- [5] 2023-07-01 11:42 (33.3)
- [6] 2023-07-01 11:42 (5.6)
- [7] 2023-07-01 11:48 (33.3)
- [8] 2023-07-01 11:49 (33.3)
- [9] 2023-07-01 13:11 (88.9)
- [10] 2023-07-01 13:14 (0)
- [11] 2023-07-01 13:15 (0)
- [12] 2023-07-01 13:15 (100)
Taškai: 0
Compile: FAIL
dijkstra.cpp:10:1: error: expected initializer before ‘int’ 10 | int n, m; | ^~~ dijkstra.cpp: In function ‘void gen(int)’: dijkstra.cpp:15:28: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 15 | vector<long long> dist(n+1, LONG_MAX); | ^ | yn dijkstra.cpp: In function ‘int main()’: dijkstra.cpp:44:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 44 | cin>>n>>m; | ^ | yn dijkstra.cpp:44:13: error: ‘m’ was not declared in this scope; did you mean ‘tm’? 44 | cin>>n>>m; | ^ | tm
nr. | result | time | message |
---|