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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 548426
Concurent: Ion Ion (miti)Progres: evaluare completă
Problemă: bitslangPunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 26 sep 2017, 23:11
Mesaj evaluator:
bitslang.cpp: In function 'int main()': bitslang.cpp:19: warning: comparison between signed and unsigned integer expressions bitslang.cpp:37: warning: comparison between signed and unsigned integer expressions bitslang.cpp:41: warning: comparison between signed and unsigned integer expressions bitslang.cpp:48: warning: comparison between signed and unsigned integer expressions bitslang.cpp:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result bitslang.cpp:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result bitslang.cpp:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result bitslang.cpp:15: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result bitslang.cpp:16: 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 bitslang.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at bitslang.cpp:15: /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/ccUIpQSj.o: In function `main': bitslang.cpp:(.text+0x97): warning: the `gets' function is dangerous and should not be used. bitslang.cpp:(.text+0xc0): 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 Okay! 10
3 0 Okay! 10
4 0.001 Okay! 10
5 0.001 Okay! 10
6 0.001 Okay! 10
7 0 Okay! 10
8 0.002 Okay! 10
9 0 Okay! 15
10 0 Okay! 5
Total evaluare 100
ajutor