Pagini recente » Borderou de evaluare (job #2987866) | Borderou de evaluare (job #377371) | Borderou de evaluare (job #708621) | Borderou de evaluare (job #1332332) | Borderou de evaluare (job #2222654)
Borderou de evaluare (job #2222654)
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:258: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:261: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:201: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:265: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:261: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 | 1356kb | OK | 5 | 5 |
3 | 0ms | 1364kb | OK | 5 | 5 |
4 | 0ms | 1360kb | OK | 5 | 5 |
5 | 0ms | 1356kb | OK | 5 | 5 |
6 | 0ms | 1360kb | OK | 5 | 5 |
7 | 4ms | 1380kb | OK | 5 | 5 |
8 | 4ms | 1372kb | OK | 5 | 5 |
9 | 12ms | 1516kb | OK | 5 | 5 |
10 | 16ms | 2012kb | OK | 5 | 5 |
11 | 20ms | 1408kb | OK | 5 | 5 |
12 | 36ms | 2712kb | OK | 5 | 5 |
13 | 44ms | 2468kb | OK | 5 | 5 |
14 | 44ms | 1624kb | OK | 5 | 5 |
15 | 56ms | 1596kb | OK | 5 | 10 |
16 | 116ms | 11184kb | OK | 5 |
17 | 80ms | 1376kb | OK | 5 | 10 |
18 | 116ms | 8520kb | OK | 5 |
19 | 68ms | 1376kb | OK | 5 | 10 |
20 | 132ms | 14564kb | OK | 5 |
Punctaj total | 100 |