Borderou de evaluare (job #380862)

Utilizator deeprogressmelnic vlad deeprogress Data 7 ianuarie 2010 23:03:21
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp: In function 'void euclid(int, int, int&, int&, int&)': user.cpp:9: error: lvalue required as left operand of assignment user.cpp:10: error: lvalue required as left operand of assignment user.cpp:11: error: lvalue required as left operand of assignment user.cpp:16: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'int*' user.cpp:5: error: in passing argument 4 of 'void euclid(int, int, int&, int&, int&)' user.cpp:17: error: lvalue required as left operand of assignment user.cpp:18: error: lvalue required as left operand of assignment user.cpp: In function 'int main()': user.cpp:28: error: 'a' was not declared in this scope user.cpp:28: error: 'b' was not declared in this scope user.cpp:28: error: 'd' was not declared in this scope user.cpp:30: error: expected primary-expression before 'int' user.cpp:30: error: expected primary-expression before 'int' user.cpp:30: error: expected primary-expression before 'int' user.cpp:30: error: expected primary-expression before 'int' user.cpp:30: error: expected primary-expression before 'int'

Ceva nu functioneaza?