|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 630135
Mesaj evaluator:
reteta2.cpp: In function 'int main()':
reteta2.cpp:10: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
reteta2.cpp:10: warning: format '%d' expects type 'int*', but argument 3 has type 'long int*'
reteta2.cpp:13: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
reteta2.cpp:13: warning: format '%d' expects type 'int*', but argument 3 has type 'long int*'
reteta2.cpp:16: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
reteta2.cpp:20: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
reteta2.cpp:35: warning: suggest explicit braces to avoid ambiguous 'else'
reteta2.cpp:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
reteta2.cpp:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
reteta2.cpp:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
reteta2.cpp:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
reteta2.cpp:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
reteta2.cpp:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |