Borderou de evaluare (job #2045353)
Utilizator | Data | 22 octombrie 2017 11:59:38 | |
---|---|---|---|
Problema | Cli | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:58:56: warning: "/*" within comment [-Wcomment]
/*if(nod->nrsons==1 && !nod->ending && tata!=NULL) /* fiu unic
^
user.cpp:68:21: warning: "/*" within comment [-Wcomment]
delete nod; /* "sar" peste nodul intern */
^
user.cpp: In function ‘void insertTrie(std::string&)’:
user.cpp:26:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<str.length();i++)
^
user.cpp: In function ‘void compact(trie*, trie*, int)’:
user.cpp:72:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<nod->dp.size();i++)
^
user.cpp: In function ‘void dfs(trie*)’:
user.cpp:81:18: error: ‘struct trie’ has no member named ‘nrsons’
nod->nrsons++;
^
user.cpp: In function ‘void print(trie*)’:
user.cpp:87:16: error: ‘struct trie’ has no member named ‘nrsons’
cerr<<nod->nrsons;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !