Pagini recente » Borderou de evaluare (job #2139081) | Borderou de evaluare (job #313868) | Borderou de evaluare (job #1574081) | Borderou de evaluare (job #1258624) | Borderou de evaluare (job #2222641)
Borderou de evaluare (job #2222641)
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:260: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:263: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:203: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:267: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:175: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:263: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 | 1340kb | OK | 5 | 5 |
2 | 0ms | 1360kb | OK | 5 | 5 |
3 | 0ms | 1368kb | OK | 5 | 5 |
4 | 0ms | 1356kb | OK | 5 | 5 |
5 | 0ms | 1356kb | OK | 5 | 5 |
6 | 0ms | 1364kb | OK | 5 | 5 |
7 | 4ms | 1380kb | OK | 5 | 5 |
8 | 4ms | 1376kb | OK | 5 | 5 |
9 | 12ms | 1516kb | OK | 5 | 5 |
10 | 16ms | 2012kb | OK | 5 | 5 |
11 | 20ms | 1412kb | OK | 5 | 5 |
12 | 36ms | 2716kb | OK | 5 | 5 |
13 | 44ms | 2464kb | OK | 5 | 5 |
14 | 44ms | 1628kb | OK | 5 | 5 |
15 | 52ms | 1600kb | OK | 5 | 0 |
16 | 88ms | 11192kb | Killed by signal 6(SIGABRT). | 0 |
17 | 40ms | 1384kb | Killed by signal 6(SIGABRT). | 0 | 0 |
18 | 92ms | 8524kb | Killed by signal 6(SIGABRT). | 0 |
19 | 68ms | 1376kb | OK | 5 | 10 |
20 | 132ms | 14564kb | OK | 5 |
Punctaj total | 80 |