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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 566876
Concurent: Marius Stelian Brabete (Marut)Progres: evaluare completă
Problemă: votPunctaj exemplu: 10
Limbaj: cppPunctaj final: 10
Dată: 12 mar 2018, 17:04
Mesaj evaluator:
vot.cpp: In function 'int bs(int, int, char*)': vot.cpp:11: warning: unused variable 'ok' vot.cpp: In function 'int main()': vot.cpp:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result vot.cpp:25: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result vot.cpp:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result vot.cpp:31: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result /tmp/cc3XcTRY.o: In function `main': vot.cpp:(.text+0x10d): 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 Wrong answer in: vot.out 0
2 0 Wrong answer in: vot.out 0
3 0.001 Wrong answer in: vot.out 0
4 0.002 Wrong answer in: vot.out 0
5 0.004 Okay! 10
6 0.007 Wrong answer in: vot.out 0
7 0.012 Wrong answer in: vot.out 0
8 0.018 Wrong answer in: vot.out 0
9 0.025 Wrong answer in: vot.out 0
10 0.027 Wrong answer in: vot.out 0
Total evaluare 10
ajutor