Borderou de evaluare (job #3318569)
| Utilizator | Data | 28 octombrie 2025 13:14:07 | |
|---|---|---|---|
| Problema | Expand | Status | done |
| Runda | cb-round3 | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:8:22: error: 'nmax' was not declared in this scope; did you mean 'fmax'?
8 | pair<double,double>v[nmax],sol[nmax];
| ^~~~
| fmax
main.cpp:8:32: error: 'nmax' was not declared in this scope; did you mean 'fmax'?
8 | pair<double,double>v[nmax],sol[nmax];
| ^~~~
| fmax
main.cpp: In function 'double det(std::pair<double, double>, std::pair<double, double>, std::pair<double, double>)':
main.cpp:10:15: error: 'struct std::pair<double, double>' has no member named 'x'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:19: error: 'struct std::pair<double, double>' has no member named 'x'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:25: error: 'struct std::pair<double, double>' has no member named 'y'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:29: error: 'struct std::pair<double, double>' has no member named 'y'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:35: error: 'struct std::pair<double, double>' has no member named 'y'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:39: error: 'struct std::pair<double, double>' has no member named 'y'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:45: error: 'struct std::pair<double, double>' has no member named 'x'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp:10:49: error: 'struct std::pair<double, double>' has no member named 'x'
10 | return (b.x-a.x)*(c.y-a.y)-(b.y-a.y)*(c.x-a.x);
| ^
main.cpp: In function 'double dist(std::pair<double, double>, std::pair<double, double>)':
main.cpp:13:15: error: 'struct std::pair<double, double>' has no member named 'x'
13 | return (a.x-b.x)*(a.x-b.x)-(a.y-b.y)*(a.y-b.y);
| ^
main.cpp:13:19: error: 'struct std::pair<double, double>' has no member named 'x'
13 | return (a.x-b.x)*(a.x-b.x)-(a.y-b.y)*(a.y-b.y);
| ^
main.cpp:13:25: error: 'struct std::pair<double, double>' has no member named 'x'
13 | return (a.x-b.x)*(a.x-b.x)-(a.y-b.y)*(a.y-b.y);
| ^
main.cpp:13:29: error: 'struct std::pair<double, double>' has no member named 'x'
13 | return (a.x-b.x)*(a.x-b.x)-(a.y-b.y)*(a.y-b.y);
| ^
main.cpp:13:35: error: 'struct std::pair<double, double>' has no member named 'y'
13 | return (a.x-b.x)*(a.x-b.x)-(a.y-b.y)*(a.y-b.y);
| ^
main.cpp:13:39: error: 'struct std::pair<double, double>' has no member named 'y'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
