Grafas Montekristas
- [1] 2022-09-20 09:30 (61.3)
- [2] 2022-09-20 09:40 (0)
- [3] 2022-09-28 17:23 (3.2)
- [4] 2022-09-29 17:13 (3.2)
- [5] 2022-09-29 17:28 (3.2)
- [6] 2022-10-04 08:16 (0)
- [7] 2022-10-04 08:17 (48.4)
- [8] 2022-10-04 08:22 (100)
Taškai: 0
Compile: FAIL
grafas_montekristas.cpp: In function ‘int main()’: grafas_montekristas.cpp:32:5: error: ‘cin’ was not declared in this scope cin>>n>>m; ^ grafas_montekristas.cpp:33:5: error: ‘vector’ was not declared in this scope vector<pair<int,int>> edges; ^ grafas_montekristas.cpp:33:12: error: ‘pair’ was not declared in this scope vector<pair<int,int>> edges; ^ grafas_montekristas.cpp:33:17: error: expected primary-expression before ‘int’ vector<pair<int,int>> edges; ^ grafas_montekristas.cpp:37:9: error: ‘edges’ was not declared in this scope edges.push_back({a,b}); ^ grafas_montekristas.cpp:40:13: error: ‘edges’ was not declared in this scope reverse(edges.begin(),edges.end()); ^ grafas_montekristas.cpp:40:38: error: ‘reverse’ was not declared in this scope reverse(edges.begin(),edges.end()); ^ grafas_montekristas.cpp:54:13: error: ‘cout’ was not declared in this scope cout<<m-i; ^
nr. | result | time | message |
---|