|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 516072
Mesaj evaluator:
zoo.cpp: In function 'void compute()':
zoo.cpp:56: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*'
zoo.cpp:58: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*'
zoo.cpp:58: warning: format '%ld' expects type 'long int*', but argument 3 has type 'int*'
zoo.cpp:58: warning: format '%ld' expects type 'long int*', but argument 4 has type 'int*'
zoo.cpp:58: warning: format '%ld' expects type 'long int*', but argument 5 has type 'int*'
zoo.cpp:83: warning: format '%ld' expects type 'long int', but argument 2 has type 'int'
zoo.cpp:55: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
zoo.cpp:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
zoo.cpp:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
zoo.cpp: In function 'int main()':
zoo.cpp:90: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*'
zoo.cpp:91: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*'
zoo.cpp:91: warning: format '%ld' expects type 'long int*', but argument 3 has type 'int*'
zoo.cpp:89: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
zoo.cpp:90: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
zoo.cpp:91: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |