Borderou de evaluare (job #1104865)

Utilizator kiralalaChitoraga Dumitru kiralala Data 11 februarie 2014 09:49:08
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:93:0: warning: "NMAX" redefined [enabled by default] #define NMAX 105 ^ user.cpp:4:0: note: this is the location of the previous definition #define NMAX 100005 ^ user.cpp:94:0: warning: "MMAX" redefined [enabled by default] #define MMAX 1005 ^ user.cpp:5:0: note: this is the location of the previous definition #define MMAX 500005 ^ user.cpp: In function ‘void Erase(int, int)’: user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<graph[ind].size();++j) ^ user.cpp: In function ‘void EulerianPath(int)’: user.cpp:35:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<graph[x].size();++i) ^ user.cpp: In function ‘int main()’: user.cpp:72:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<sol.size()-1;++i) ^ user.cpp: At global scope: user.cpp:99:7: error: redefinition of ‘FILE* f’ FILE* f=freopen("ausoara.in","r",stdin); ^ user.cpp:9:7: error: ‘FILE* f’ previously declared here FILE* f=freopen("ciclueuler.in","r",stdin); ^ user.cpp:100:7: error: redefinition of ‘FILE* o’ FILE* o=freopen("ausoara.out","w",stdout); ^ user.cpp:10:7: error: ‘FILE* o’ previously declared here FILE* o=freopen("ciclueuler.out","w",stdout); ^ user.cpp:103:5: error: redefinition of ‘int n’ int n; ^ user.cpp:12:5: error: ‘int n’ previously declared here int n,m; ^ user.cpp: In function ‘void WriteRow()’: user.cpp:184:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::pair<int, int>’ [-Wformat=] printf("%d ",row.front()); ^ user.cpp: In function ‘int main()’: user.cpp:189:5: error: redefinition of ‘int main()’ int main()

Ceva nu functioneaza?