Borderou de evaluare (job #1606396)
Utilizator | Data | 20 februarie 2016 11:07:51 | |
---|---|---|---|
Problema | Fenrir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citire()’:
user.cpp:20:5: error: ‘fin’ was not declared in this scope
fin>>n>>m;
^
user.cpp:27:12: error: no match for ‘operator=’ (operand types are ‘muchie’ and ‘<unresolved overloaded function type>’)
crt=H.top;
^
user.cpp:27:12: note: candidates are:
user.cpp:6:8: note: muchie& muchie::operator=(const muchie&)
struct muchie{
^
user.cpp:6:8: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘const muchie&’
user.cpp:6:8: note: muchie& muchie::operator=(muchie&&)
user.cpp:6:8: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘muchie&&’
user.cpp:28:9: error: ‘fout’ was not declared in this scope
fout<<crt.x<<' '<<crt.y<<' '<<crt.c<<'\n';
^
user.cpp: In function ‘void afisare()’:
user.cpp:44:5: error: ‘fout’ was not declared in this scope
fout<<cmin<<'\n';
^
user.cpp:44:11: error: ‘cmin’ was not declared in this scope
fout<<cmin<<'\n';
^
user.cpp:45:9: error: ‘i’ was not declared in this scope
for(i=0;i<n-1;i++)
^
user.cpp: In function ‘int main()’:
user.cpp:65:9: error: ‘rx’ was not declared in this scope
rx=Find(crt.x);
^
user.cpp:66:9: error: ‘ry’ was not declared in this scope
ry=Find(crt.y);
^
user.cpp:69:13: error: ‘cmin’ was not declared in this scope
cmin+=crt.c;
^
user.cpp:70:17: error: ‘class std::vector<muchie>’ has no member named ‘pushback’
apm.pushback(crt);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !