Pagini recente » Borderou de evaluare (job #43033) | Borderou de evaluare (job #2772340) | Borderou de evaluare (job #51410) | Borderou de evaluare (job #2205277) | Borderou de evaluare (job #2236966)
Borderou de evaluare (job #2236966)
Raport evaluator
Compilare:
user.cpp: In function ‘void addWord(int)’:
user.cpp:30:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!it->next[nextCh]) it->next[nextCh] = new node(it, nextCh);
^
user.cpp:30:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!it->next[nextCh]) it->next[nextCh] = new node(it, nextCh);
^
user.cpp:31:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
it = it->next[nextCh];
^
user.cpp: In function ‘node* go(Node, char)’:
user.cpp:46:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->go[c]) return x->go[c];
^
user.cpp:46:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->go[c]) return x->go[c];
^
user.cpp:47:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->next[c]) return x->go[c] = x->next[c];
^
user.cpp:47:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->next[c]) return x->go[c] = x->next[c];
^
user.cpp:47:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(x->next[c]) return x->go[c] = x->next[c];
^
user.cpp:48:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!x->tata) return x->go[c] = x;
^
user.cpp:49: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:53: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:54: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:55: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:57: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 | 0ms | 1472kb | OK | 10 |
2 | 8ms | 1372kb | OK | 10 |
3 | 20ms | 1508kb | OK | 10 |
4 | 76ms | 24584kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 120ms | 39024kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 76ms | 24360kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 152ms | 47900kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 80ms | 24636kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 12ms | 4404kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 2544kb | Incorect | 0 |
Punctaj total | 30 |