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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 558595
Concurent: Iulian Rotaru (iulian rotaru)Progres: evaluare completă
Problemă: pixyPunctaj exemplu: 5
Limbaj: cppPunctaj final: 100
Dată: 25 dec 2017, 13:59
Mesaj evaluator:
pixy.cpp: In function 'int main()': pixy.cpp:55: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result pixy.cpp:56: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result pixy.cpp:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result pixy.cpp:59: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result pixy.cpp:61: 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 pixy.cpp:2: In function 'char* gets(char*)', inlined from 'int main()' at pixy.cpp:61: /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/ccBowXsn.o: In function `main': pixy.cpp:(.text+0x52a): warning: the `gets' function is dangerous and should not be used. pixy.cpp:(.text+0x502): 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 Okay! 5
4 0.001 Okay! 5
5 0.001 Okay! 5
6 0.002 Okay! 5
7 0.004 Okay! 5
8 0.012 Okay! 5
9 0.012 Okay! 5
10 0.001 Okay! 5
11 0.006 Okay! 5
12 0.003 Okay! 5
13 0.006 Okay! 5
14 0.012 Okay! 5
15 0.005 Okay! 5
16 0.002 Okay! 5
17 0.001 Okay! 5
18 0.002 Okay! 5
19 0.009 Okay! 5
20 0 Okay! 5
Total evaluare 100
ajutor