Borderou de evaluare (job #2402895)
Utilizator | Data | 11 aprilie 2019 09:18:12 | |
---|---|---|---|
Problema | Insula | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'double len(std::pair<double, double>, std::pair<double, double>)':
main.cpp:26:100: error: 'sqrt' was not declared in this scope
return sqrt ((x.first-y.first) * (x.first-y.first) + (x.second-y.second) * (x.second-y.second) );
^
main.cpp: In function 'int main()':
main.cpp:34:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&t);
^
main.cpp:36:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&r);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !