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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 506208
Concurent: Cosmin Tanislav (Demon000)Progres: evaluare completă
Problemă: sablon1Punctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 7 nov 2016, 19:15
Mesaj evaluator:
sablon1.cpp: In function 'int main()': sablon1.cpp:7: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result sablon1.cpp:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result sablon1.cpp:10: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result sablon1.cpp:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result sablon1.cpp:13: 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 sablon1.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at sablon1.cpp:13: /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/ccTG3h6b.o: In function `main': sablon1.cpp:(.text+0x8d): warning: the `gets' function is dangerous and should not be used. sablon1.cpp:(.text+0x56): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 OK 10
Total exemple 10
1 0 OK 10
2 0 OK 10
3 0 OK 10
4 0 OK 10
5 0 OK 10
6 0 OK 10
7 0 OK 10
8 0 OK 10
9 0 OK 10
10 0 OK 10
Total evaluare 100
ajutor