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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 494994
Concurent: Bogdan Ciobanu (bciobanu)Progres: evaluare completă
Problemă: lcdrPunctaj exemplu: 5
Limbaj: cppPunctaj final: 90
Dată: 4 iul 2016, 03:07
Mesaj evaluator:
lcdr.cpp: In function 'int main()': lcdr.cpp:69: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result lcdr.cpp:70: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result lcdr.cpp:71: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result lcdr.cpp:73: 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 lcdr.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at lcdr.cpp:73: /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/ccmrSDEe.o: In function `main': lcdr.cpp:(.text+0xd6): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Okay! 5
Total exemple 5
1 0 Okay! 5
2 0 Okay! 5
3 0.001 Okay! 5
4 0.001 Okay! 5
5 0.092 Okay! 5
6 0.093 Okay! 5
7 0.024 Wrong answer in: lcdr.out 0
8 0.023 Wrong answer in: lcdr.out 0
9 0.092 Okay! 5
10 0.093 Okay! 5
11 0.108 Okay! 5
12 0.108 Okay! 5
13 0.125 Okay! 5
14 0.129 Okay! 5
15 0.189 Okay! 5
16 0.19 Okay! 5
17 0.278 Okay! 5
18 0.187 Okay! 5
19 0.191 Okay! 5
20 0.187 Okay! 5
Total evaluare 90
ajutor