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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 539746
Concurent: Andrei Moldovan (nume)Progres: evaluare completă
Problemă: cutiePunctaj exemplu: 10
Limbaj: cppPunctaj final: 40
Dată: 23 apr 2017, 12:07
Mesaj evaluator:
cutie.cpp: In function 'int main()': cutie.cpp:51: warning: unused variable 'j' cutie.cpp:49: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result cutie.cpp:50: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result cutie.cpp:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cutie.cpp:54: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result cutie.cpp:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result cutie.cpp:60: warning: ignoring return value of 'int scanf(const 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 cutie.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at cutie.cpp:54: /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/cc1kFkb3.o: In function `main': cutie.cpp:(.text+0x302): 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 Okay! 10
3 0.062 Okay! 10
4 0.122 Okay! 10
5 0.501 Time limit exceeded! 0
6 0.501 Time limit exceeded! 0
7 0.501 Time limit exceeded! 0
8 0.501 Time limit exceeded! 0
9 0.501 Time limit exceeded! 0
10 0.501 Time limit exceeded! 0
Total evaluare 40
ajutor