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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 505117
Concurent: Cosmin Tanislav (Demon000)Progres: evaluare completă
Problemă: joc12Punctaj exemplu: 10
Limbaj: cppPunctaj final: 60
Dată: 7 nov 2016, 18:22
Mesaj evaluator:
joc12.cpp: In function 'int main()': joc12.cpp:26: warning: suggest explicit braces to avoid ambiguous 'else' joc12.cpp:7: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result joc12.cpp:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result joc12.cpp:10: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result joc12.cpp:11: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result joc12.cpp:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result /tmp/ccXb8Ah9.o: In function `main': joc12.cpp:(.text+0x8b): 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 Fisier de iesire incorect 0
3 0 Corect 10
4 0 Fisier de iesire incorect 0
5 0 Corect 10
6 0 Corect 10
7 0 Corect 10
8 0 Fisier de iesire incorect 0
9 0 Corect 10
10 0 Fisier de iesire incorect 0
Total evaluare 60
ajutor