|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 558005
Mesaj evaluator:
prefix1.cpp: In function 'int main()':
prefix1.cpp:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
prefix1.cpp:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
prefix1.cpp:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
prefix1.cpp:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
prefix1.cpp:10: warning: 'c' may be used uninitialized in this function
/tmp/ccoTrV3G.o: In function `main':
prefix1.cpp:(.text+0x6f): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |