Borderou de evaluare (job #138782)

Utilizator avatar conconcon marius conconcon IP ascuns
Problemă Nod (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 mar. 2015 16:22:13 Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void extragere(char*, int, int&)’: user.cpp:15:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:15:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:16:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:18:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:18:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:19:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:21:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp: In function ‘int poz(int, int)’: user.cpp:35:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:35:97: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:38:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:38:96: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp: In function ‘int main()’: user.cpp:53:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:54:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:55:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:56:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:77:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:87:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:97:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:106:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/cc9od1wr.o: In function `main': user.cpp:(.text.startup+0xec): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 280 kb OK 10
2 0 ms 288 kb OK 10
3 0 ms 280 kb OK 10
4 0 ms 276 kb OK 10
5 0 ms 276 kb OK 10
6 40 ms 276 kb OK 10
7 52 ms 272 kb OK 10
8 64 ms 280 kb Incorect 0
9 148 ms 280 kb OK 10
10 176 ms 280 kb OK 10
Punctaj total 90