Borderou de evaluare (job #1495174)
Utilizator | Data | 2 octombrie 2015 18:26:04 | |
---|---|---|---|
Problema | Prefix2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:9: error: ‘VVV’ does not name a type
VVV leg;
^
user.cpp: In member function ‘void SuffixAutomaton::insert_char(char)’:
user.cpp:38:38: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
for(; last != -1 && !T[last].leg.count(c); last = T[last].link) {
^
user.cpp:39:21: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
T[last].leg[c] = cur;
^
user.cpp:45:29: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
int q = T[last].leg[c];
^
user.cpp:52:24: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
T[aux].leg = T[q].leg;
^
user.cpp:52:35: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
T[aux].leg = T[q].leg;
^
user.cpp:54:45: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
for(; last != -1 && T[last].leg[c] == q; last = T[last].link)
^
user.cpp:55:29: error: ‘struct SuffixAutomaton::node’ has no member named ‘leg’
T[last].leg[c] = aux;
^
user.cpp: In function ‘int main()’:
user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in", "r", stdin);
^
user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !