Cod sursa(job #2954407)
Utilizator | Data | 14 decembrie 2022 10:27:45 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva educationala | Marime | 0.23 kb |
#include <fstream>
#include <vector>
int main()
{
std::ifstream fin("dfs.in");
std::ofstream fout("dfs.out");
int n, m;
fin >> n >> m;
std::vector<std::vector<int>> nodes(n, std::vector<int>(n,0));
fout << m;
}