Borderou de evaluare (job #2261557)
Utilizator | Data | 16 octombrie 2018 13:10:35 | |
---|---|---|---|
Problema | Trie | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void add()':
main.cpp:23:23: error: 'strlen' was not declared in this scope
int cn=0,lg=strlen(ch),cp=0;
^
main.cpp:24:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[cn].copii.size(); ++i)
~^~~~~~~~~~~~~~~~~~~
main.cpp:27:24: error: 'cp' was not declared in this scope
if (v[cnn].val==ch[2+cp])
^~
main.cpp:35:6: error: 'cp' was not declared in this scope
if (cp+2<lg)
^~
main.cpp: In function 'void delet()':
main.cpp:51:23: error: 'strlen' was not declared in this scope
int cn=0,lg=strlen(ch),cp=0;
^
main.cpp:52:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[cn].copii.size() && cp+2<lg; ++i)
~^~~~~~~~~~~~~~~~~~~
main.cpp:52:40: error: 'cp' was not declared in this scope
for (int i=0; i<v[cn].copii.size() && cp+2<lg; ++i)
^~
main.cpp: In function 'void apra()':
main.cpp:68:23: error: 'strlen' was not declared in this scope
int cn=0,lg=strlen(ch),cp=0,apr,ln;
^
main.cpp:69:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[cn].copii.size() && cp+2<lg; ++i)
~^~~~~~~~~~~~~~~~~~~
main.cpp:69:40: error: 'cp' was not declared in this scope
for (int i=0; i<v[cn].copii.size() && cp+2<lg; ++i)
^~
main.cpp:75:4: error: 'apr' was not declared in this scope
apr=v[cnn].ap;
^~~
main.cpp:76:4: error: 'ln' was not declared in this scope
ln=cn;
^~
main.cpp:86:12: error: 'ln' was not declared in this scope
int ans=v[ln].ap;
^~
main.cpp:91:6: error: 'cp' was not declared in this scope
if (cp==lg-3)
^~
main.cpp: In function 'void chibrit()':
main.cpp:101:23: error: 'strlen' was not declared in this scope
int cn=0,lg=strlen(ch),cp=0;
^
main.cpp:102:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !