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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 538105
Concurent: Mihai Indreias (mihai2003)Progres: evaluare completă
Problemă: joc11Punctaj exemplu: 20
Limbaj: cppPunctaj final: 70
Dată: 10 apr 2017, 14:11
Mesaj evaluator:
joc11.cpp: In function 'void fall()': joc11.cpp:23: warning: unused variable 'poz1' joc11.cpp:23: warning: unused variable 'poz2' joc11.cpp: In function 'int main()': joc11.cpp:100: warning: unused variable 'x' joc11.cpp:100: warning: unused variable 'y' joc11.cpp:98: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result joc11.cpp:99: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result joc11.cpp:101: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result joc11.cpp:103: 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 /usr/include/c++/4.4/i486-linux-gnu/bits/stdc++.h:45, from joc11.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at joc11.cpp:103: /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/ccsFudF6.o: In function `main': joc11.cpp:(.text+0x308): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Okay! 10
1 0 Okay! 10
Total exemple 20
2 0 Okay! 10
3 0 Wrong answer in: joc11.out 0
4 0 Okay! 10
5 0 Okay! 10
6 0 Okay! 10
7 0 Okay! 10
8 0 Okay! 10
9 0.007 Wrong answer in: joc11.out 0
10 0.003 Wrong answer in: joc11.out 0
11 0.002 Okay! 10
Total evaluare 70
ajutor