Borderou de evaluare (job #2559443)
Utilizator | Data | 27 februarie 2020 12:28:48 | |
---|---|---|---|
Problema | Mosia | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:12: error: 'Nmax' was not declared in this scope
Point c, v[Nmax];
^~~~
main.cpp:14:11: error: 'Nmax' was not declared in this scope
double dp[Nmax];
^~~~
main.cpp:15:12: error: 'Nmax' was not declared in this scope
double dp2[Nmax];
^~~~
main.cpp: In function 'int main()':
main.cpp:32:16: error: 'v' was not declared in this scope
fin >> v[i].x >> v[i].y >> v[i].d;
^
main.cpp:39:10: error: 'v' was not declared in this scope
sort(v+1, v+n+1, comp);
^
main.cpp:44:9: error: 'dp' was not declared in this scope
dp[i] = v[i].d * dist(v[i - 1], v[i + 1])/2;
^~
main.cpp:46:9: error: 'dp2' was not declared in this scope
dp2[i] = v[i].d * dist(v[i - 1], v[i + 1])/2;
^~~
main.cpp:48:5: error: 'dp' was not declared in this scope
dp[n]=0;
^~
main.cpp:49:5: error: 'dp2' was not declared in this scope
dp2[1]=0;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !