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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 566992
Concurent: Andrei Moldovan (nume)Progres: evaluare completă
Problemă: propPunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 13 mar 2018, 09:14
Mesaj evaluator:
prop.cpp: In function 'int main()': prop.cpp:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result prop.cpp:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result prop.cpp:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result prop.cpp:21: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from prop.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at prop.cpp:21: /usr/include/bits/stdio2.h:230: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccyvFCMi.o: In function `main': prop.cpp:(.text+0xa2): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 ok 10
Total exemple 10
1 0 ok 10
2 0.001 ok 10
3 0.002 ok 10
4 0.002 ok 10
5 0.005 ok 10
6 0.004 ok 10
7 0.005 ok 10
8 0.003 ok 10
9 0.004 ok 10
10 0 ok 10
Total evaluare 100
ajutor