Borderou de evaluare (job #2934560)
Utilizator | Data | 6 noiembrie 2022 10:14:45 | |
---|---|---|---|
Problema | Joc9 | 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:29:29: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
29 | if(a[n][j].a>sol[1].x)
| ^
| mx
main.cpp:31:20: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
31 | sol[1].x=a[n][j].a;
| ^
| mx
main.cpp:32:20: error: 'struct solutie' has no member named 'y'
32 | sol[1].y=a[1][1].v;
| ^
main.cpp:40:29: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
40 | if(a[i][i].b>sol[2].x)
| ^
| mx
main.cpp:42:20: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
42 | sol[2].x=a[i][i].b;
| ^
| mx
main.cpp:43:20: error: 'struct solutie' has no member named 'y'
43 | sol[2].y=a[n][1].v;
| ^
main.cpp:51:29: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
51 | if(a[i][1].c>sol[3].x)
| ^
| mx
main.cpp:53:20: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
53 | sol[3].x=a[i][1].c;
| ^
| mx
main.cpp:54:20: error: 'struct solutie' has no member named 'y'
54 | sol[3].y=a[n][n].v;
| ^
main.cpp:58:23: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
58 | if(sol[j].x<sol[i].x)swap(sol[i], sol[j]);
| ^
| mx
main.cpp:58:32: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
58 | if(sol[j].x<sol[i].x)swap(sol[i], sol[j]);
| ^
| mx
main.cpp:59:28: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
59 | else if(sol[j].x==sol[i].x && sol[j].y>sol[i].y)swap(sol[i], sol[j]);
| ^
| mx
main.cpp:59:38: error: 'struct solutie' has no member named 'x'; did you mean 'mx'?
59 | else if(sol[j].x==sol[i].x && sol[j].y>sol[i].y)swap(sol[i], sol[j]);
| ^
| mx
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !