|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 577039
Mesaj evaluator:
aranjare.cpp: In function 'int main()':
aranjare.cpp:40: warning: suggest explicit braces to avoid ambiguous 'else'
aranjare.cpp:92: warning: suggest explicit braces to avoid ambiguous 'else'
aranjare.cpp:146: warning: suggest explicit braces to avoid ambiguous 'else'
aranjare.cpp:188: warning: too many arguments for format
aranjare.cpp:186: warning: suggest explicit braces to avoid ambiguous 'else'
aranjare.cpp:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
aranjare.cpp:17: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
aranjare.cpp:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
aranjare.cpp:19: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccHu6cF4.o: In function `main':
aranjare.cpp:(.text+0xba): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |