Borderou de evaluare (job #150099)

Utilizator avatar florentina Seicaru Florentina florentina IP ascuns
Problemă Sume Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 iun. 2015 15:50:52 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:49:11: error: redefinition of ‘std::ifstream f’ user.cpp:4:10: error: ‘std::ifstream f’ previously declared here user.cpp:50:11: error: redefinition of ‘std::ofstream g’ user.cpp:5:10: error: ‘std::ofstream g’ previously declared here user.cpp:51:5: error: redefinition of ‘int n’ user.cpp:6:5: error: ‘int n’ previously declared here user.cpp:51:7: error: redefinition of ‘int k’ user.cpp:6:7: error: ‘int k’ previously declared here user.cpp:51:9: error: redefinition of ‘int i’ user.cpp:6:9: error: ‘int i’ previously declared here user.cpp:51:20: error: redefinition of ‘int v [1000001]’ user.cpp:6:11: error: ‘int v [1000001]’ previously declared here user.cpp:51:22: error: redefinition of ‘int s’ user.cpp:6:22: error: ‘int s’ previously declared here user.cpp:51:24: error: redefinition of ‘int t’ user.cpp:6:24: error: ‘int t’ previously declared here user.cpp:51:26: error: redefinition of ‘int s1’ user.cpp:6:26: error: ‘int s1’ previously declared here user.cpp: In function ‘int main()’: user.cpp:52:5: error: redefinition of ‘int main()’ user.cpp:7:5: error: ‘int main()’ previously defined here user.cpp: At global scope: user.cpp:94:11: error: redefinition of ‘std::ifstream f’ user.cpp:4:10: error: ‘std::ifstream f’ previously declared here user.cpp:95:11: error: redefinition of ‘std::ofstream g’ user.cpp:5:10: error: ‘std::ofstream g’ previously declared here user.cpp:96:5: error: redefinition of ‘int n’ user.cpp:6:5: error: ‘int n’ previously declared here user.cpp:96:7: error: redefinition of ‘int k’ user.cpp:6:7: error: ‘int k’ previously declared here user.cpp:96:9: error: redefinition of ‘int i’ user.cpp:6:9: error: ‘int i’ previously declared here user.cpp:96:20: error: redefinition of ‘int v [1000001]’ user.cpp:6:11: error: ‘int v [1000001]’ previously declared here user.cpp:96:22: error: redefinition of ‘int s’ user.cpp:6:22: error: ‘int s’ previously declared here user.cpp:96:24: error: redefinition of ‘int t’ user.cpp:6:24: error: ‘int t’ previously declared here user.cpp:96:26: error: redefinition of ‘int s1’ user.cpp:6:26: error: ‘int s1’ previously declared here user.cpp: In function ‘int main()’: user.cpp:97:5: error: redefinition of ‘int main()’ user.cpp:7:5: error: ‘int main()’ previously defined here