Pagini recente »
Borderou de evaluare (job #577472)
|
Borderou de evaluare (job #433562)
|
Borderou de evaluare (job #296530)
|
Borderou de evaluare (job #285408)
|
Borderou de evaluare (job #141226)
Borderou de evaluare (job #141226)
Raport evaluator
Compilare:
user.cpp: In function ‘void transforma(char*, int, int&)’:
user.cpp:13:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:13:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:14:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:16:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:16:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:17:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp:19:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.cpp: In function ‘int poz(int, int)’:
user.cpp:32:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp:32:97: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp:35:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp:35:96: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp: In function ‘int main()’:
user.cpp:50:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:51:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:75:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:85:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:95:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:107:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘void transforma(char*, int, int&)’:
user.cpp:19:25: warning: ‘total’ may be used uninitialized in this function [-Wuninitialized]
/tmp/ccNJSoGO.o: In function `main':
user.cpp:(.text.startup+0xe8): 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
|
284 kb
|
OK
|
10
|
3
|
0 ms
|
284 kb
|
OK
|
10
|
4
|
0 ms
|
268 kb
|
OK
|
10
|
5
|
0 ms
|
272 kb
|
OK
|
10
|
6
|
28 ms
|
272 kb
|
OK
|
10
|
7
|
48 ms
|
276 kb
|
OK
|
10
|
8
|
64 ms
|
276 kb
|
Incorect
|
0
|
9
|
152 ms
|
272 kb
|
OK
|
10
|
10
|
184 ms
|
268 kb
|
OK
|
10
|
Punctaj total
|
90
|