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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 534547
Concurent: titel popescu (titi)Progres: evaluare completă
Problemă: pesteraPunctaj exemplu: 5
Limbaj: cppPunctaj final: 100
Dată: 18 mar 2017, 19:58
Mesaj evaluator:
pestera.cpp: In function 'void read()': pestera.cpp:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result pestera.cpp:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result pestera.cpp:45: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result pestera.cpp: In function 'void solve()': pestera.cpp:93: warning: comparison between signed and unsigned integer expressions pestera.cpp: In function 'int main()': pestera.cpp:135: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result pestera.cpp:136: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from pestera.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'void read()' at pestera.cpp:31: /usr/include/bits/stdio2.h:253: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer In function 'char* fgets(char*, int, FILE*)', inlined from 'void read()' at pestera.cpp:45: /usr/include/bits/stdio2.h:253: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 OK 5
Total exemple 5
1 0 OK 5
2 0.002 OK 5
3 0.004 OK 5
4 0.014 OK 5
5 0.002 OK 5
6 0.001 ok 5
7 0.001 ok 5
8 0.002 ok 5
9 0.003 OK 5
10 0 OK 5
11 0.009 OK 5
12 0.01 OK 5
13 0.017 OK 5
14 0 OK 5
15 0 OK 5
16 0 ok 5
17 0 ok 5
18 0.001 OK 5
19 0.001 OK 5
20 0.001 OK 5
Total evaluare 100
ajutor