Pagini recente » Borderou de evaluare (job #1754212) | Borderou de evaluare (job #2835889) | Borderou de evaluare (job #2784144) | Borderou de evaluare (job #2638369) | Borderou de evaluare (job #2464189)
Borderou de evaluare (job #2464189)
Raport evaluator
Compilare:
main.cpp: In constructor 'trie::trie()':
main.cpp:17:18: warning: array subscript has type 'char' [-Wchar-subscripts]
nxt[i] = NULL;
^
main.cpp: In function 'void add(trie*, short int, short int)':
main.cpp:28:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if( nod->nxt[ cod[ s[a] ] ] == NULL ){
^
main.cpp:29:33: warning: array subscript has type 'char' [-Wchar-subscripts]
nod->nxt[ cod[ s[a] ] ] = new trie;
^
main.cpp:32:34: warning: array subscript has type 'char' [-Wchar-subscripts]
add( nod->nxt[ cod[ s[a] ] ], a + 1, b );
^
main.cpp: In function 'bool del(trie*&, short int, short int)':
main.cpp:40:38: warning: array subscript has type 'char' [-Wchar-subscripts]
if( del( nod->nxt[ cod[ s[a] ] ], a + 1, b ) == true )
^
main.cpp: In function 'void dfs(trie*)':
main.cpp:55:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if( nod->nxt[i] == NULL )
^
main.cpp:57:24: warning: array subscript has type 'char' [-Wchar-subscripts]
dfs( nod->nxt[i] );
^
main.cpp: In function 'int main()':
main.cpp:75:14: warning: array subscript has type 'char' [-Wchar-subscripts]
cod[i] = val++;
^
main.cpp:77:14: warning: array subscript has type 'char' [-Wchar-subscripts]
cod[i] = val++;
^
main.cpp:79:14: warning: array subscript has type 'char' [-Wchar-subscripts]
cod[i] = val++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | OK | 14 | 0 |
2 | 7ms | 1552kb | Memory limit exceeded | 0 |
3 | 10ms | 1552kb | Memory limit exceeded | 0 |
4 | 7ms | 1552kb | Memory limit exceeded | 0 |
5 | 29ms | 1548kb | Memory limit exceeded | 0 |
6 | 5ms | 1552kb | Memory limit exceeded | 0 |
7 | 9ms | 1552kb | Memory limit exceeded | 0 |
Punctaj total | 0 |