Borderou de evaluare (job #1845333)
Utilizator | Data | 11 ianuarie 2017 12:46:22 | |
---|---|---|---|
Problema | Elicoptere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘double distoriz(elicoptere, elicoptere)’:
user.cpp:20:12: warning: unused variable ‘fin’ [-Wunused-variable]
double fin=1005,dst=0;
^
user.cpp:20:21: warning: unused variable ‘dst’ [-Wunused-variable]
double fin=1005,dst=0;
^
user.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘double distvert(elicoptere, elicoptere)’:
user.cpp:25:12: warning: unused variable ‘fin’ [-Wunused-variable]
double fin=1005,dst=0;
^
user.cpp:25:21: warning: unused variable ‘dst’ [-Wunused-variable]
double fin=1005,dst=0;
^
user.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:39:11: error: ‘j’ was not declared in this scope
for(j=i+1;j<=n;j++)
^
user.cpp:47:31: error: ‘setprecision’ was not declared in this scope
g<<fixed<<setprecision(3)<<sumdist;
^
user.cpp:61:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[nod].size();j++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !