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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 557250
Concurent: Andrei Moldovan (nume)Progres: evaluare completă
Problemă: prefixPunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 13 dec 2017, 09:28
Mesaj evaluator:
prefix.cpp: In function 'int main()': prefix.cpp:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result prefix.cpp:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result prefix.cpp:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result prefix.cpp:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result prefix.cpp:17: 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 prefix.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at prefix.cpp:17: /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/ccrYSYhW.o: In function `main': prefix.cpp:(.text+0x94): 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.043 Okay! 11
2 0.062 Okay! 11
3 0.052 Okay! 11
4 0.055 Okay! 11
5 0.06 Okay! 11
6 0.078 Okay! 11
7 0.068 Okay! 11
8 0.071 Okay! 11
9 0.077 Okay! 12
Total evaluare 100
ajutor