|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 506454
Mesaj evaluator:
cod4.cpp: In function 'void cit()':
cod4.cpp:13: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
cod4.cpp:15: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
cod4.cpp:9: warning: unused variable 'j'
cod4.cpp:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cod4.cpp:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cod4.cpp:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
cod4.cpp: In function 'int main()':
cod4.cpp:91: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
cod4.cpp:24: warning: unused variable 'f'
cod4.cpp:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
cod4.cpp:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |