Pagini recente » Borderou de evaluare (job #1356781) | Borderou de evaluare (job #2935571) | Borderou de evaluare (job #2367950) | Borderou de evaluare (job #2253682) | Borderou de evaluare (job #2580965)
Borderou de evaluare (job #2580965)
Raport evaluator
Compilare:
main.cpp: In member function 'void Trie::insert(int)':
main.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i = 0; i < v[k].size(); ++i) {
~~^~~~~~~~~~~~~
main.cpp:27:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) {
^
main.cpp:28:28: warning: array subscript has type 'char' [-Wchar-subscripts]
curr->nxt[c] = new Node();
^
main.cpp:30:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In member function 'void Trie::count(int, int)':
main.cpp:42:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] != 0 && i <= j) {
^
main.cpp:44:35: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'int main()':
main.cpp:73:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); ++i) {
~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 393kb | OK | 10 |
2 | 120ms | 262kb | OK | 10 |
3 | 12ms | 393kb | OK | 10 |
4 | 50ms | 1835kb | OK | 10 |
5 | 71ms | 6684kb | OK | 10 |
6 | 91ms | 6684kb | OK | 10 |
7 | 109ms | 6684kb | OK | 10 |
8 | 168ms | 65552kb | Memory limit exceeded | 0 |
9 | 186ms | 65552kb | Memory limit exceeded | 0 |
10 | 281ms | 11665kb | OK | 10 |
Punctaj total | 80 |