|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 535833
Mesaj evaluator:
rascoala.cpp: In function 'bool smaller(abc, abc)':
rascoala.cpp:23: warning: statement has no effect
rascoala.cpp: In function 'void Read(int&)':
rascoala.cpp:84: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
rascoala.cpp:88: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
rascoala.cpp: In function 'int main()':
rascoala.cpp:108: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
rascoala.cpp:108: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
rascoala.cpp:94: warning: unused variable 'st'
rascoala.cpp:94: warning: unused variable 'dr'
rascoala.cpp:94: warning: unused variable 'mid'
rascoala.cpp:96: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
rascoala.cpp:97: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
rascoala.cpp: In function 'int Find_min()':
rascoala.cpp:69: warning: 'res' may be used uninitialized in this function
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |