|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 571763
Mesaj evaluator:
valet.cpp: In function 'int main()':
valet.cpp:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
valet.cpp:17: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
valet.cpp:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
valet.cpp:24: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
valet.cpp:21: warning: 'x' may be used uninitialized in this function
valet.cpp:21: warning: 'y' may be used uninitialized in this function
/tmp/ccMgwddx.o: In function `main':
valet.cpp:(.text+0x278): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |