Pagini recente » Borderou de evaluare (job #1515911) | Borderou de evaluare (job #2304022) | Borderou de evaluare (job #1624183) | Borderou de evaluare (job #1059356) | Borderou de evaluare (job #2665128)
Borderou de evaluare (job #2665128)
Raport evaluator
Compilare:
main.cpp: In function 'void add(Trie*&, char*)':
main.cpp:45:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod -> alp[*ch] == NULL)
^
main.cpp:46:38: warning: array subscript has type 'char' [-Wchar-subscripts]
++nod -> let , nod -> alp[*ch] = new Trie;
^
main.cpp:48: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:64:33: warning: array subscript has type 'char' [-Wchar-subscripts]
bool ok = del(nod -> alp[*ch] , ch + 1);
^
main.cpp:68:23: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> alp[*ch] = NULL;
^
main.cpp: In function 'void cnt(Trie*, char*)':
main.cpp:83:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod -> alp[*ch] == NULL)
^
main.cpp:86:23: warning: array subscript has type 'char' [-Wchar-subscripts]
cnt(nod -> alp[*ch] , ch + 1);
^
main.cpp: In function 'void pref(Trie*, char*, int)':
main.cpp:94:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod -> alp[*ch] == NULL)
^
main.cpp:97:24: warning: array subscript has type 'char' [-Wchar-subscripts]
pref(nod -> alp[*ch] , ch + 1 , ans + 1);
^
main.cpp: In function 'int main()':
main.cpp:103: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:103: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 | 3ms | 131kb | Incorect | 0 | 0 |
2 | 3ms | 262kb | Incorect | 0 | 0 |
3 | 3ms | 262kb | Incorect | 0 | 0 |
4 | 3ms | 262kb | Incorect | 0 | 0 |
5 | 3ms | 262kb | Incorect | 0 | 0 |
6 | 3ms | 262kb | Incorect | 0 | 0 |
7 | 3ms | 393kb | Incorect | 0 | 0 |
8 | 3ms | 262kb | Incorect | 0 | 0 |
9 | 3ms | 393kb | Incorect | 0 | 0 |
10 | 3ms | 393kb | Incorect | 0 | 0 |
11 | 3ms | 262kb | Incorect | 0 | 0 |
12 | 3ms | 655kb | Incorect | 0 | 0 |
13 | 2ms | 131kb | Incorect | 0 | 0 |
14 | 3ms | 131kb | Incorect | 0 | 0 |
15 | 3ms | 393kb | Incorect | 0 | 0 |
16 | 3ms | 393kb | Incorect | 0 |
17 | 3ms | 262kb | Incorect | 0 | 0 |
18 | 3ms | 393kb | Incorect | 0 |
19 | 3ms | 393kb | Incorect | 0 | 0 |
20 | 3ms | 262kb | Incorect | 0 |
Punctaj total | 0 |