Borderou de evaluare (job #278078)

Utilizator PetriucAlexandruPetriuc Alexandru PetriucAlexandru Data 12 martie 2009 09:04:33
Problema Algoritmul lui Euclid Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:33:2: warning: no newline at end of file user.cpp:1: error: expected constructor, destructor, or type conversion before '<' token user.cpp: In function 'int main()': user.cpp:10: error: 'ifstream' is not a member of 'std' user.cpp:10: error: expected `;' before 'f' user.cpp:11: error: 'ofstream' is not a member of 'std' user.cpp:11: error: expected `;' before 'g' user.cpp:12: error: 'f' was not declared in this scope user.cpp:15: error: 'g' was not declared in this scope user.cpp: At global scope: user.cpp:20: error: redefinition of 'int n' user.cpp:3: error: 'int n' previously declared here user.cpp:20: error: redefinition of 'int a' user.cpp:3: error: 'int a' previously declared here user.cpp:20: error: redefinition of 'int b' user.cpp:3: error: 'int b' previously declared here user.cpp:20: error: redefinition of 'int i' user.cpp:3: error: 'int i' previously declared here user.cpp: In function 'int gcd(int, int)': user.cpp:21: error: redefinition of 'int gcd(int, int)' user.cpp:4: error: 'int gcd(int, int)' previously defined here user.cpp: In function 'int main()': user.cpp:25: error: redefinition of 'int main()' user.cpp:8: error: 'int main()' previously defined here

Ceva nu functioneaza?