Borderou de evaluare (job #1572141)
Utilizator | Data | 18 ianuarie 2016 19:32:24 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void addkey(LN, int)’:
user.cpp:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x==s.length())
^
user.cpp: In function ‘void Last()’:
user.cpp:89:22: error: conversion from ‘Node*’ to non-scalar type ‘std::pair<int, Node*>’ requested
for (pair<int,LN> i:v)
^
user.cpp:90:7: error: cannot convert ‘std::pair<int, Node*>’ to ‘LN {aka Node*}’ for argument ‘1’ to ‘Node* gf(LN)’
gf(i)->x+=i->x;
^
user.cpp:90:14: error: base operand of ‘->’ has non-pointer type ‘std::pair<int, Node*>’
gf(i)->x+=i->x;
^
user.cpp: In function ‘void DFS()’:
user.cpp:96:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<s.length(); i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !