Pagini recente » Borderou de evaluare (job #2611553) | Borderou de evaluare (job #1191474) | Borderou de evaluare (job #345699) | Borderou de evaluare (job #3284161) | Borderou de evaluare (job #2236969)
Borderou de evaluare (job #2236969)
Raport evaluator
Compilare:
user.cpp: In function ‘void addWord(int)’:
user.cpp:28:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!it->next[nextCh]) it->next[nextCh] = new node(it, nextCh);
^
user.cpp:28:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!it->next[nextCh]) it->next[nextCh] = new node(it, nextCh);
^
user.cpp:29:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
it = it->next[nextCh];
^
user.cpp: In function ‘node* go(Node, char)’:
user.cpp:44:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->go[c]) return x->go[c];
^
user.cpp:44:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->go[c]) return x->go[c];
^
user.cpp:45:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->next[c]) return x->go[c] = x->next[c];
^
user.cpp:45:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->next[c]) return x->go[c] = x->next[c];
^
user.cpp:45:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->next[c]) return x->go[c] = x->next[c];
^
user.cpp:46:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!x->tata) return x->go[c] = x;
^
user.cpp:47:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return x->go[c] = go(getLink(x), c);
^
user.cpp: In function ‘int main()’:
user.cpp:51:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
user.cpp:53:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s", &l, &n, text);
^
user.cpp:55:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %s", &l, s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1472kb | OK | 10 |
2 | 8ms | 1364kb | OK | 10 |
3 | 20ms | 1508kb | OK | 10 |
4 | 160ms | 26772kb | OK | 10 |
5 | 256ms | 42172kb | OK | 10 |
6 | 156ms | 26528kb | OK | 10 |
7 | 340ms | 51792kb | OK | 10 |
8 | 164ms | 26848kb | OK | 10 |
9 | 20ms | 6536kb | OK | 10 |
10 | 8ms | 2552kb | OK | 10 |
Punctaj total | 100 |