Borderou de evaluare (job #2044019)
Utilizator | Data | 20 octombrie 2017 20:37:58 | |
---|---|---|---|
Problema | Cablaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘double Dst(Point, Point)’:
user.cpp:30:40: error: ‘sqrt’ was not declared in this scope
return sqrt(difx * difx + dify * dify);
^
user.cpp: In function ‘int main()’:
user.cpp:51:3: error: ‘out’ was not declared in this scope
out << setprecision(6) << fixed << 0.0 << '\n';
^
user.cpp:51:24: error: ‘setprecision’ was not declared in this scope
out << setprecision(6) << fixed << 0.0 << '\n';
^
user.cpp:68:34: error: ‘sort’ was not declared in this scope
sort(graph + 1, graph + 1 + m);
^
user.cpp:70:15: error: unable to find numeric literal operator ‘operator"" d’
var sum = 0d;
^
user.cpp:87:11: error: ‘ncrr’ was not declared in this scope
++ncrr;
^
user.cpp:92:9: error: ‘ncrr’ was not declared in this scope
m = ncrr;
^
user.cpp:53:14: warning: unused variable ‘crr’ [-Wunused-variable]
int m = 0, crr = 0;
^
user.cpp: In function ‘double Dst(Point, Point)’:
user.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !