Grafas Montekristas

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.resulttimemessage