Borderou de evaluare (job #1018789)
Utilizator | Data | 29 octombrie 2013 23:01:18 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘double distanta(punct, punct)’:
user.cpp:11:30: error: ‘pow’ was not declared in this scope
return sqrt(pow(x.x - y.x, 2) + pow(x.y - y.y, 2));
^
user.cpp:11:51: error: ‘sqrt’ was not declared in this scope
return sqrt(pow(x.x - y.x, 2) + pow(x.y - y.y, 2));
^
user.cpp: In function ‘int main()’:
user.cpp:41:24: error: ‘pow’ was not declared in this scope
double min = pow(10, 9) + 1;
^
user.cpp: In function ‘double distanta(punct, punct)’:
user.cpp:12: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 !