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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 562395
Concurent: Andrei Contor (andreicontor)Progres: evaluare completă
Problemă: smsPunctaj exemplu: 10
Limbaj: cppPunctaj final: 33
Dată: 22 ian 2018, 15:04
Mesaj evaluator:
sms.cpp: In function 'int main()': sms.cpp:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result sms.cpp:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result sms.cpp:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result sms.cpp:44: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result sms.cpp:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result sms.cpp:56: warning: ignoring return value of 'int scanf(const 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 sms.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at sms.cpp:44: /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/ccXPPoZE.o: In function `main': sms.cpp:(.text+0x1a5): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 CORECT!!! 10
Total exemple 10
1 0 Test partial CORECT 1
2 0 CORECT!!! 10
3 0 Test partial CORECT 1
4 0 Test partial CORECT 6
5 0 Test partial CORECT 1
6 0 Test partial CORECT 1
7 0 Test partial CORECT 1
8 0 Test partial CORECT 1
9 0 CORECT!!! 10
10 0 Test partial CORECT 1
Total evaluare 33
ajutor