|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 558602
Mesaj evaluator:
mess.cpp: In function 'void read(int&)':
mess.cpp:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
mess.cpp:32: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
mess.cpp: In function 'void AIBUpdate(Node, int, int)':
mess.cpp:91: warning: statement has no effect
mess.cpp: In function 'int AIBQuery(Node, int)':
mess.cpp:96: warning: statement has no effect
mess.cpp: In function 'int main()':
mess.cpp:133: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
mess.cpp:134: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
mess.cpp:136: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
mess.cpp: In function 'int BinarySearch(Node, int, int)':
mess.cpp:74: warning: 'answer' may be used uninitialized in this function
mess.cpp: In function 'int main()':
mess.cpp:135: warning: 'answer' may be used uninitialized in this function
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |