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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 552689
Concurent: Andrei Moldovan (nume)Progres: evaluare completă
Problemă: slPunctaj exemplu: 10
Limbaj: cppPunctaj final: 65
Dată: 12 nov 2017, 19:48
Mesaj evaluator:
sl.cpp: In function 'int main()': sl.cpp:13: warning: unused variable 'f' sl.cpp:83: warning: unused variable 'x' sl.cpp:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result sl.cpp:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result sl.cpp:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result sl.cpp:16: 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 sl.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at sl.cpp:16: /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/ccGDgtmP.o: In function `main': sl.cpp:(.text+0x297): 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 Wrong answer in: sl.out 0
3 0 Okay! 10
4 0 Okay! 10
5 0 Okay! 10
6 0 Okay! 10
7 0 Wrong answer in: sl.out 0
8 0 Killed by signal: 11 0
9 0 Okay! 15
Total evaluare 65
ajutor