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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 476871
Concurent: Valeanu Valentin (valvaleanu)Progres: evaluare completă
Problemă: combcuvPunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 25 feb 2016, 17:34
Mesaj evaluator:
combcuv.cpp: In function 'int main()': combcuv.cpp:39: warning: comparison between signed and unsigned integer expressions combcuv.cpp:40: warning: comparison between signed and unsigned integer expressions combcuv.cpp:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result combcuv.cpp:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result combcuv.cpp:24: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result combcuv.cpp:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result combcuv.cpp:28: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from combcuv.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at combcuv.cpp:28: /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/ccEaBPqQ.o: In function `main': combcuv.cpp:(.text+0xd2): warning: the `gets' function is dangerous and should not be used. combcuv.cpp:(.text+0x90): 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.004 Okay! 10
3 0.035 Okay! 10
4 0.018 Okay! 10
5 0.089 Okay! 10
6 0.064 Okay! 10
7 0.032 Okay! 10
8 0.309 Okay! 10
9 0.051 Okay! 10
10 0.395 Okay! 10
Total evaluare 100
ajutor