Borderou de evaluare (job #1808245)

Utilizator SanduStefaniaSandu Stefania Iulia SanduStefania Data 17 noiembrie 2016 16:01:40
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:43:2: error: stray ‘#’ in program }#include <fstream> ^ user.cpp:43:3: error: ‘include’ does not name a type }#include <fstream> ^ user.cpp:46:11: error: redefinition of ‘std::ifstream f’ ifstream f("dfs.in"); ^ user.cpp:4:10: error: ‘std::ifstream f’ previously declared here ifstream f("dfs.in"); ^ user.cpp:47:11: error: redefinition of ‘std::ofstream g’ ofstream g("dfs.out"); ^ user.cpp:5:10: error: ‘std::ofstream g’ previously declared here ofstream g("dfs.out"); ^ user.cpp:48:5: error: redefinition of ‘int n’ int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:6:5: error: ‘int n’ previously declared here int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:48:7: error: redefinition of ‘int m’ int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:6:7: error: ‘int m’ previously declared here int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:48:9: error: redefinition of ‘int i’ int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:6:9: error: ‘int i’ previously declared here int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:48:11: error: redefinition of ‘int j’ int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:6:11: error: ‘int j’ previously declared here int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:48:13: error: redefinition of ‘int x’ int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:6:13: error: ‘int x’ previously declared here int n,m,i,j,x,y,a[10001][10001]; ^ user.cpp:48:15: error: redefinition of ‘int y’ int n,m,i,j,x,y,a[10001][10001];

Ceva nu functioneaza?