|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 505178
Mesaj evaluator:
cuiburi.cpp: In function 'int cuibaresc(cuib, cuib)':
cuiburi.cpp:18: warning: suggest explicit braces to avoid ambiguous 'else'
cuiburi.cpp:23: warning: suggest explicit braces to avoid ambiguous 'else'
cuiburi.cpp: In function 'int main()':
cuiburi.cpp:51: warning: format '%d' expects type 'int*', but argument 2 has type 'long long int*'
cuiburi.cpp:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
cuiburi.cpp:47: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
cuiburi.cpp:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cuiburi.cpp:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cuiburi.cpp:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cuiburi.cpp:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cuiburi.cpp: In function 'int cuibaresc(cuib, cuib)':
cuiburi.cpp:44: warning: control reaches end of non-void function
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |