|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 600594
Mesaj evaluator:
sotron1.cpp: In function 'int main()':
sotron1.cpp:85: warning: unused variable 'i'
sotron1.cpp:85: warning: unused variable 'x1'
sotron1.cpp:83: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
sotron1.cpp:84: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
sotron1.cpp:86: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
sotron1.cpp:91: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
sotron1.cpp: In function 'int get_direction(int, int)':
sotron1.cpp:41: warning: control reaches end of non-void function
sotron1.cpp: In function 'int main()':
sotron1.cpp:85: warning: 'xi' may be used uninitialized in this function
sotron1.cpp:85: warning: 'yi' may be used uninitialized in this function
sotron1.cpp:85: warning: 'xf' may be used uninitialized in this function
sotron1.cpp:85: warning: 'yf' may be used uninitialized in this function
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |