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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 488437
Concurent: Marinel Şerban (marinel)Progres: evaluare completă
Problemă: zonePunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 10 apr 2016, 09:09
Mesaj evaluator:
zone.cpp: In function 'int main()': zone.cpp:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result zone.cpp:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result zone.cpp:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result zone.cpp:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result zone.cpp:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result zone.cpp:28: 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 zone.cpp:2: In function 'char* gets(char*)', inlined from 'int main()' at zone.cpp:28: /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/ccJMPC3d.o: In function `main': zone.cpp:(.text+0x4d9): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Okay! 10
Total exemple 10
1 0 Okay! 10
2 0.001 Okay! 10
3 0.001 Okay! 10
4 0.002 Okay! 10
5 0.002 Okay! 10
6 0.002 Okay! 10
7 0.006 Okay! 10
8 0.013 Okay! 10
9 0.013 Okay! 10
10 0.013 Okay! 10
Total evaluare 100
ajutor