Pagini recente » Borderou de evaluare (job #2537987) | Borderou de evaluare (job #1393473) | Borderou de evaluare (job #3235071) | Borderou de evaluare (job #391206) | Borderou de evaluare (job #2222650)
Borderou de evaluare (job #2222650)
Raport evaluator
Compilare:
user.cpp: In instantiation of ‘NodeTypeCatalog<counterType>::TrieNodeBasic* NodeTypeCatalog<counterType>::TrieNodeBasic::push(char) [with counterType = unsigned int]’:
user.cpp:147:13: required from ‘void Trie<NodeType>::pushWord(const string&) [with NodeType = NodeTypeCatalog<unsigned int>::TrieNodeBasic; std::__cxx11::string = std::__cxx11::basic_string<char>]’
user.cpp:259:35: required from here
user.cpp:41:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( this->child[c] == nullptr ){
~~~~~~~~~~~^
user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
this->child[c] = new TrieNodeBasic(this);
~~~~~~~~~~~^
user.cpp:44:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
this->child[c]->markPrefix();
~~~~~~~~~~~^
user.cpp:45:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return this->child[c];
~~~~~~~~~~~^
user.cpp: In instantiation of ‘int32_t Trie<NodeType>::unmarkWord(const string&) [with NodeType = NodeTypeCatalog<unsigned int>::TrieNodeBasic; int32_t = int; std::__cxx11::string = std::__cxx11::basic_string<char>]’:
user.cpp:154:30: required from ‘int32_t Trie<NodeType>::popWord(const string&) [with NodeType = NodeTypeCatalog<unsigned int>::TrieNodeBasic; int32_t = int; std::__cxx11::string = std::__cxx11::basic_string<char>]’
user.cpp:262:34: required from here
user.cpp:168:13: warning: switch condition has boolean value [-Wswitch-bool]
switch( toDelete ){
^~~~~~
user.cpp: In instantiation of ‘NodeTypeCatalog<counterType>::TrieNodeBasic* NodeTypeCatalog<counterType>::TrieNodeBasic::next(char) [with counterType = unsigned int]’:
user.cpp:202:21: required from ‘typename NodeType::size_t Trie<NodeType>::countWord(const string&) [with NodeType = NodeTypeCatalog<unsigned int>::TrieNodeBasic; typename NodeType::size_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]’
user.cpp:266:51: required from here
user.cpp:53:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return this->child[ position( repair(c) ) ];
~~~~~~~~~~~^
user.cpp: In instantiation of ‘void NodeTypeCatalog<counterType>::TrieNodeBasic::forget(char) [with counterType = unsigned int]’:
user.cpp:174:21: required from ‘int32_t Trie<NodeType>::unmarkWord(const string&) [with NodeType = NodeTypeCatalog<unsigned int>::TrieNodeBasic; int32_t = int; std::__cxx11::string = std::__cxx11::basic_string<char>]’
user.cpp:154:30: required from ‘int32_t Trie<NodeType>::popWord(const string&) [with NodeType = NodeTypeCatalog<unsigned int>::TrieNodeBasic; int32_t = int; std::__cxx11::string = std::__cxx11::basic_string<char>]’
user.cpp:262:34: required from here
user.cpp:79:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
this->child[ position( repair(c) ) ] = nullptr;
~~~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1344kb | OK | 5 | 5 |
2 | 0ms | 1360kb | Incorect | 0 | 0 |
3 | 0ms | 1364kb | Incorect | 0 | 0 |
4 | 0ms | 1356kb | Incorect | 0 | 0 |
5 | 0ms | 1356kb | Incorect | 0 | 0 |
6 | 0ms | 1364kb | Incorect | 0 | 0 |
7 | 4ms | 1380kb | Incorect | 0 | 0 |
8 | 4ms | 1376kb | Incorect | 0 | 0 |
9 | 12ms | 1516kb | Incorect | 0 | 0 |
10 | 16ms | 2012kb | Incorect | 0 | 0 |
11 | 20ms | 1408kb | Incorect | 0 | 0 |
12 | 36ms | 2732kb | Incorect | 0 | 0 |
13 | 44ms | 2472kb | Incorect | 0 | 0 |
14 | 44ms | 1628kb | Incorect | 0 | 0 |
15 | 56ms | 1600kb | Incorect | 0 | 0 |
16 | 112ms | 11868kb | Incorect | 0 |
17 | 68ms | 1376kb | Incorect | 0 | 0 |
18 | 116ms | 9216kb | Incorect | 0 |
19 | 68ms | 1380kb | Incorect | 0 | 0 |
20 | 132ms | 14712kb | Incorect | 0 |
Punctaj total | 5 |