|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 512409
Mesaj evaluator:
scor.cpp: In member function 'HugeN& HugeN::operator*(int)':
scor.cpp:107: warning: reference to local variable 'temp' returned
scor.cpp: In member function 'HugeN& HugeN::operator+(int)':
scor.cpp:128: warning: reference to local variable 'temp' returned
scor.cpp: In member function 'HugeN& HugeN::operator+(const HugeN&)':
scor.cpp:154: warning: reference to local variable 'temp' returned
scor.cpp: In member function 'HugeN& HugeN::operator-(const HugeN&)':
scor.cpp:172: warning: reference to local variable 'temp' returned
scor.cpp:173: warning: unused variable 'tr'
scor.cpp: In member function 'HugeN& HugeN::operator/(int)':
scor.cpp:190: warning: reference to local variable 'temp' returned
scor.cpp:189: warning: unused variable 'cnt'
scor.cpp: In function 'int main()':
scor.cpp:204: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
scor.cpp:205: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
scor.cpp:207: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
scor.cpp:210: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccMQTplI.o: In function `main':
scor.cpp:(.text+0x698): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |