Borderou de evaluare (job #138769)

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:03:15 Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void extragere(char*, int, int&)’: user.cpp:14:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:14:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:15:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:17:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:17:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:18:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:20:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp: In function ‘int poz(int, int)’: user.cpp:34:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:34:97: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:37:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:37:96: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp: In function ‘int main()’: user.cpp:52:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:53:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:54:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, 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:76:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:86:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:96:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:105:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccgfFWkf.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 276 kb OK 10
2 0 ms 280 kb OK 10
3 0 ms 280 kb OK 10
4 0 ms 268 kb OK 10
5 0 ms 272 kb OK 10
6 40 ms 268 kb OK 10
7 48 ms 268 kb OK 10
8 64 ms 272 kb Incorect 0
9 148 ms 272 kb OK 10
10 176 ms 272 kb OK 10
Punctaj total 90