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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 505196
Concurent: Cosmin Tanislav (Demon000)Progres: evaluare completă
Problemă: distPunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 4 nov 2016, 18:35
Mesaj evaluator:
dist.cpp: In function 'int main()': dist.cpp:39: warning: unused variable 'n' dist.cpp:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result dist.cpp:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result dist.cpp:40: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result dist.cpp:56: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result /tmp/cc2qVI1A.o: In function `main': dist.cpp:(.text+0x1eb): 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.002 Corect 10
4 0.004 Corect 10
5 0.022 Corect 10
6 0.014 Corect 10
7 0.06 Corect 10
8 0.058 Corect 10
9 0.03 Corect 10
10 0.023 Corect 10
Total evaluare 100
ajutor