|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 510485
Mesaj evaluator:
sircifre.cpp: In function 'int main()':
sircifre.cpp:28: warning: suggest parentheses around assignment used as truth value
sircifre.cpp:38: warning: array subscript has type 'char'
sircifre.cpp:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
sircifre.cpp:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
sircifre.cpp:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
sircifre.cpp:26: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccOv1gih.o: In function `main':
sircifre.cpp:(.text+0xba): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |