|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 479317
Mesaj evaluator:
randomizare.cpp: In function 'int main()':
randomizare.cpp:10: warning: unused variable 'n'
randomizare.cpp:10: warning: unused variable 'm'
randomizare.cpp:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
randomizare.cpp:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
randomizare.cpp:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
randomizare.cpp:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
randomizare.cpp:15: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
randomizare.cpp:17: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/cc9pqmpN.o: In function `main':
randomizare.cpp:(.text+0x8d): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |