|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 542717
Mesaj evaluator:
rima.cpp: In function 'int main()':
rima.cpp:5: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
rima.cpp:6: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
rima.cpp:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
rima.cpp:10: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
rima.cpp:31: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
rima.cpp:51: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
rima.cpp:71: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
rima.cpp:7: warning: 'p1' may be used uninitialized in this function
rima.cpp:7: warning: 'p2' may be used uninitialized in this function
rima.cpp:7: warning: 'p3' may be used uninitialized in this function
rima.cpp:7: warning: 'p4' may be used uninitialized in this function
/tmp/cc1obU23.o: In function `main':
rima.cpp:(.text+0x85): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |