|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 520390
Mesaj evaluator:
minerale.cpp: In function 'int main()':
minerale.cpp:32: warning: format '%s' expects type 'char*', but argument 2 has type 'char (*)[10]'
minerale.cpp:32: warning: format '%s' expects type 'char*', but argument 3 has type 'char (*)[10]'
minerale.cpp:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
minerale.cpp:28: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
minerale.cpp:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
minerale.cpp:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
minerale.cpp:39: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result
/tmp/ccoXYa6I.o: In function `main':
minerale.cpp:(.text+0x29a): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |