|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 514381
Mesaj evaluator:
scor.cpp: In function 'void get_nr(int*, int*)':
scor.cpp:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
scor.cpp: In function 'void imp_int(int*, int*)':
scor.cpp:63: warning: statement has no effect
scor.cpp:57: warning: unused variable 'aux'
scor.cpp: In function 'int main()':
scor.cpp:113: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
scor.cpp:114: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
scor.cpp:116: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
/tmp/ccoaTCLZ.o: In function `get_nr(int*, int*)':
scor.cpp:(.text+0x2ef): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |