.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 584927

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 584927
Concurent: Alexandru Vulpoiu (Alexandru Vulpoiu)Progres: evaluare completă
Problemă: pepsiPunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 25 ian 2019, 11:27
Mesaj evaluator:
pepsi.cpp: In function 'int main()': pepsi.cpp:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result pepsi.cpp:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result pepsi.cpp:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result pepsi.cpp:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result pepsi.cpp:13: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result pepsi.cpp:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result /tmp/ccE4JINJ.o: In function `main': pepsi.cpp:(.text+0x7a): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Corect 10
Total exemple 10
1 0 Corect 10
2 0 Corect 10
3 0 Corect 10
4 0 Corect 10
5 0 Corect 10
6 0 Corect 10
7 0 Corect 10
8 0 Corect 10
9 0 Corect 10
10 0 Corect 10
Total evaluare 100
ajutor