|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 204
Mesaj evaluator:
In file included from /usr/include/c++/3.2.2/backward/fstream.h:31,
from nr.cpp:1:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
nr.cpp:6:1: warning: "NAN" redefined
In file included from /usr/include/math.h:37,
from /usr/include/c++/3.2.2/cmath:51,
from /usr/include/c++/3.2.2/bits/locale_facets.tcc:41,
from /usr/include/c++/3.2.2/locale:46,
from /usr/include/c++/3.2.2/bits/istream.tcc:37,
from /usr/include/c++/3.2.2/istream:297,
from /usr/include/c++/3.2.2/fstream:45,
from /usr/include/c++/3.2.2/backward/fstream.h:32,
from nr.cpp:1:
/usr/include/bits/nan.h:29:1: warning: this is the location of the previous definition
nr.cpp: In function `int succesor()':
nr.cpp:61: warning: assignment to non-pointer type `char' from NULL
nr.cpp:61: warning: argument to non-pointer type `char' from NULL
nr.cpp:65: warning: assignment to non-pointer type `char' from NULL
nr.cpp:65: warning: argument to non-pointer type `char' from NULL
nr.cpp: In function `int distribuie()':
nr.cpp:90: warning: unused variable `int sch'
nr.cpp:90: warning: `int poz' might be used uninitialized in this function
nr.cpp: In function `int total()':
nr.cpp:160: warning: assignment to non-pointer type `char' from NULL
nr.cpp:160: warning: argument to non-pointer type `char' from NULL
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |