|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 511945
Mesaj evaluator:
ordonare.cpp: In function 'bool cmp(cuvant, cuvant)':
ordonare.cpp:17: warning: NULL used in arithmetic
ordonare.cpp:19: warning: NULL used in arithmetic
ordonare.cpp: In function 'int main()':
ordonare.cpp:56: warning: comparison between signed and unsigned integer expressions
ordonare.cpp:33: warning: unused variable 'pp'
ordonare.cpp:33: warning: unused variable 'm'
ordonare.cpp:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
ordonare.cpp:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
ordonare.cpp:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
ordonare.cpp:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
ordonare.cpp:41: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
ordonare.cpp: In function 'bool cmp(cuvant, cuvant)':
ordonare.cpp:27: warning: control reaches end of non-void function
/tmp/ccrEFHrk.o: In function `main':
ordonare.cpp:(.text+0x11f): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |