Borderou de evaluare (job #3373356)
| Utilizator | Data | 6 noiembrie 2026 17:29:04 | |
|---|---|---|---|
| Problema | Cablaj | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:37:17: error: 'pii' was not declared in this scope
37 | pii p1=coord[i],p2=coord[nod_ales];
| ^~~
main.cpp:38:35: error: 'p1' was not declared in this scope; did you mean 'y1'?
38 | double cost=sqrt((p1.first-p2.first)*(p1.first-p2.first) + (p1.second-p2.second)*(p1.second-p2.second));
| ^~
| y1
main.cpp:38:44: error: 'p2' was not declared in this scope
38 | double cost=sqrt((p1.first-p2.first)*(p1.first-p2.first) + (p1.second-p2.second)*(p1.second-p2.second));
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
