Pagini recente » Borderou de evaluare (job #1677367) | Borderou de evaluare (job #738394) | Borderou de evaluare (job #3157180) | Borderou de evaluare (job #2948624) | Borderou de evaluare (job #1980802)
Borderou de evaluare (job #1980802)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Aho*, char*)’:
user.cpp:38:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(t->fiu[ch] == NULL) {
^
user.cpp:39:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->fiu[ch] = new Aho();
^
user.cpp:40:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->fiu[ch]->papa = t;
^
user.cpp:41:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->fiu[ch]->papach = ch;
^
user.cpp:43:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
add(t->fiu[ch], x + 1);
^
user.cpp: In function ‘void bfs(Aho*)’:
user.cpp:67:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(cursor != t && cursor->fiu[ch] == NULL)
^
user.cpp:69:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cursor->fiu[ch] == NULL)
^
user.cpp:72:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->fail = cursor->fiu[ch];
^
user.cpp: In function ‘int main()’:
user.cpp:114:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(cursor != x && cursor -> fiu[ch] == NULL)
^
user.cpp:117:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cursor -> fiu[ch] != NULL) {
^
user.cpp:118:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cursor = cursor -> fiu[ch];
^
user.cpp:96:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 308kb | OK | 5 |
3 | 0ms | 300kb | OK | 5 |
4 | 0ms | 320kb | OK | 5 |
5 | 0ms | 276kb | OK | 5 |
6 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 4ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 25 |