|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 556199
Mesaj evaluator:
teatru.cpp: In function 'int main()':
teatru.cpp:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
teatru.cpp:14: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
teatru.cpp: In function 'void Citeste()':
teatru.cpp:23: warning: format '%d' expects type 'int*', but argument 2 has type 'long int*'
teatru.cpp:23: warning: format '%d' expects type 'int*', but argument 3 has type 'long int*'
teatru.cpp:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
teatru.cpp:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
teatru.cpp:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result
teatru.cpp: In function 'void Afis()':
teatru.cpp:31: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
teatru.cpp: In function 'void Calculeaza()':
teatru.cpp:40: warning: array subscript has type 'char'
teatru.cpp:47: warning: array subscript has type 'char'
teatru.cpp:49: warning: array subscript has type 'char'
teatru.cpp:52: warning: array subscript has type 'char'
teatru.cpp:63: warning: array subscript has type 'char'
teatru.cpp:64: warning: array subscript has type 'char'
Teste de evaluare:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ajutor |