Borderou de evaluare (job #1229930)
Utilizator | Data | 18 septembrie 2014 11:42:23 | |
---|---|---|---|
Problema | Pal2 | Status | done |
Runda | Algoritmiada 2014 Runda Finala Clasele 11-12 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘Trie::Trie()’:
user.cpp:36:27: error: ‘memset’ was not declared in this scope
memset(fiu,0,sizeof(fiu));
^
user.cpp: In function ‘int main()’:
user.cpp:69:14: error: ‘strlen’ was not declared in this scope
n=strlen(s+1);
^
user.cpp:78:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
R->fiu[S[1]]=new Trie;
^
user.cpp:79:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
R->fiu[S[1]]->nrap=1;
^
user.cpp:82:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
kkt[p]=R->fiu[S[1]];
^
user.cpp:93:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(kkt[i]->fiu[S[st]]==NULL)
^
user.cpp:95:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
kkt[i]->fiu[S[st]]=new Trie;
^
user.cpp:96:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
kkt[i]=kkt[i]->fiu[S[st]];
^
user.cpp:120:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<lun[sim].size();++j)
^
user.cpp:130:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<lun[sim].size();++j)
^
user.cpp:146:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(kkt[i]->fiu[S[st]]==NULL)
^
user.cpp:148:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
kkt[i]->fiu[S[st]]=new Trie;
^
user.cpp:149:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
kkt[i]=kkt[i]->fiu[S[st]];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !