Borderou de evaluare (job #2379277)
Utilizator | Data | 13 martie 2019 11:31:16 | |
---|---|---|---|
Problema | Links | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int RectId(Point)':
main.cpp:87:18: error: 'struct Rect' has no member named 'p'
if (v[i].p.a.x <= P.x && v[i].p.b.x >= P.x && v[i].P.a.y <= P.y && v[i].P.b.y >= P.y)
^
main.cpp:87:39: error: 'struct Rect' has no member named 'p'
if (v[i].p.a.x <= P.x && v[i].p.b.x >= P.x && v[i].P.a.y <= P.y && v[i].P.b.y >= P.y)
^
main.cpp:87:60: error: 'struct Rect' has no member named 'P'
if (v[i].p.a.x <= P.x && v[i].p.b.x >= P.x && v[i].P.a.y <= P.y && v[i].P.b.y >= P.y)
^
main.cpp:87:81: error: 'struct Rect' has no member named 'P'
if (v[i].p.a.x <= P.x && v[i].p.b.x >= P.x && v[i].P.a.y <= P.y && v[i].P.b.y >= P.y)
^
main.cpp:77:9: warning: unused variable 'i' [-Wunused-variable]
int i = 0, p = 1;
^
main.cpp: In function 'int main()':
main.cpp:94:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:96:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p[i].x, &p[i].y);
^
main.cpp:105:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &A.x, &A.y, &B.x, &B.y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !