Borderou de evaluare (job #2312727)
Utilizator | Data | 5 ianuarie 2019 14:02:15 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/6/backward/hash_map:60:0,
from main.cpp:1:
/usr/include/c++/6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^~~~~~~
main.cpp:8:17: error: 'stdext' is not a namespace-name
using namespace stdext;
^~~~~~
main.cpp:8:23: error: expected namespace-name before ';' token
using namespace stdext;
^
main.cpp:11:2: error: 'hash_map' does not name a type
hash_map <char,int> fii;
^~~~~~~~
main.cpp:12:2: error: 'list' does not name a type
list<string> output;
^~~~
main.cpp:26:1: error: 'hash_map' does not name a type
hash_map<string,int> C;
^~~~~~~~
main.cpp: In function 'void addToTree()':
main.cpp:30:18: error: 'strlen' was not declared in this scope
int l=strlen(cuv);
^
main.cpp:33:2: error: 'hash_map' was not declared in this scope
hash_map<char,int>::iterator it;
^~~~~~~~
main.cpp:33:2: note: suggested alternative:
In file included from main.cpp:1:0:
/usr/include/c++/6/backward/hash_map:83:11: note: '__gnu_cxx::hash_map'
class hash_map
^~~~~~~~
main.cpp:33:11: error: expected primary-expression before 'char'
hash_map<char,int>::iterator it;
^~~~
main.cpp:35:3: error: 'it' was not declared in this scope
it = tree[nod].fii.find(cuv[i]);
^~
main.cpp:35:18: error: '__gnu_cxx::__alloc_traits<std::allocator<Nod> >::value_type {aka struct Nod}' has no member named 'fii'
it = tree[nod].fii.find(cuv[i]);
^~~
main.cpp:36:20: error: '__gnu_cxx::__alloc_traits<std::allocator<Nod> >::value_type {aka struct Nod}' has no member named 'fii'
if(it==tree[nod].fii.end()){
^~~
main.cpp:39:14: error: '__gnu_cxx::__alloc_traits<std::allocator<Nod> >::value_type {aka struct Nod}' has no member named 'fii'
tree[nod].fii[cuv[i]]=nbNod;
^~~
main.cpp:46:18: error: '__gnu_cxx::__alloc_traits<std::allocator<Nod> >::value_type {aka struct Nod}' has no member named 'fii'
nod=tree[nod].fii[cuv[i]];
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !