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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 514381
Concurent: Alexandru Radu (alexradu04)Progres: evaluare completă
Problemă: scorPunctaj exemplu: 10
Limbaj: cppPunctaj final: 90
Dată: 11 dec 2016, 17:04
Mesaj evaluator:
scor.cpp: In function 'void get_nr(int*, int*)': scor.cpp:12: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result scor.cpp: In function 'void imp_int(int*, int*)': scor.cpp:63: warning: statement has no effect scor.cpp:57: warning: unused variable 'aux' scor.cpp: In function 'int main()': scor.cpp:113: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result scor.cpp:114: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result scor.cpp:116: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result /tmp/ccoaTCLZ.o: In function `get_nr(int*, int*)': scor.cpp:(.text+0x2ef): 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 Okay! 10
5 0 Okay! 10
6 0 Wrong answer in: scor.out 0
7 0 Okay! 10
8 0 Okay! 10
9 0 Okay! 10
10 0 Okay! 10
Total evaluare 90
ajutor