Pagini recente » Borderou de evaluare (job #263086) | Borderou de evaluare (job #2633598) | Borderou de evaluare (job #2011348) | Borderou de evaluare (job #3215799) | Borderou de evaluare (job #2665138)
Borderou de evaluare (job #2665138)
Raport evaluator
Compilare:
main.cpp: In function 'void add(Trie*&, char*)':
main.cpp:27:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod -> alp[*ch] == NULL)
^
main.cpp:28:38: warning: array subscript has type 'char' [-Wchar-subscripts]
++nod -> let , nod -> alp[*ch] = new Trie;
^
main.cpp:30:23: warning: array subscript has type 'char' [-Wchar-subscripts]
add(nod -> alp[*ch] , ch + 1);
^
main.cpp: In function 'bool del(Trie*&, char*)':
main.cpp:46:33: warning: array subscript has type 'char' [-Wchar-subscripts]
bool ok = del(nod -> alp[*ch] , ch + 1);
^
main.cpp:50:23: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> alp[*ch] = NULL;
^
main.cpp: In function 'void cnt(Trie*, char*)':
main.cpp:65:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod -> alp[*ch] == NULL)
^
main.cpp:68:23: warning: array subscript has type 'char' [-Wchar-subscripts]
cnt(nod -> alp[*ch] , ch + 1);
^
main.cpp: In function 'void precin(Trie*, char*, int)':
main.cpp:76:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod -> alp[*ch] == NULL)
^
main.cpp:79:26: warning: array subscript has type 'char' [-Wchar-subscripts]
precin(nod -> alp[*ch] , ch + 1 , ans + 1);
^
main.cpp: In function 'int main()':
main.cpp:85:78: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in" , "r" , stdin) , freopen("trie.out" , "w" , stdout);
^
main.cpp:85:78: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 5 |
2 | 3ms | 262kb | OK | 5 | 5 |
3 | 4ms | 393kb | OK | 5 | 5 |
4 | 3ms | 262kb | OK | 5 | 5 |
5 | 3ms | 262kb | OK | 5 | 5 |
6 | 4ms | 393kb | OK | 5 | 5 |
7 | 6ms | 655kb | OK | 5 | 5 |
8 | 6ms | 524kb | OK | 5 | 5 |
9 | 14ms | 2490kb | OK | 5 | 5 |
10 | 33ms | 9306kb | OK | 5 | 5 |
11 | 16ms | 1048kb | OK | 5 | 5 |
12 | 69ms | 19005kb | OK | 5 | 5 |
13 | 63ms | 15597kb | OK | 5 | 5 |
14 | 38ms | 4063kb | OK | 5 | 5 |
15 | 44ms | 3670kb | OK | 5 | 0 |
16 | 65ms | 30494kb | Memory limit exceeded | 0 |
17 | 55ms | 524kb | OK | 5 | 0 |
18 | 63ms | 30494kb | Memory limit exceeded | 0 |
19 | 41ms | 655kb | OK | 5 | 0 |
20 | 70ms | 30494kb | Memory limit exceeded | 0 |
Punctaj total | 70 |