|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 559178
Mesaj evaluator:
scadere.cpp: In function 'int main()':
scadere.cpp:17: warning: unused variable 'x'
scadere.cpp:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
scadere.cpp:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
scadere.cpp:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
scadere.cpp:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
scadere.cpp:75: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
scadere.cpp:76: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccPcqwWK.o: In function `main':
scadere.cpp:(.text+0xb0): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |