Borderou de evaluare (job #1787523)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 24 octombrie 2016 19:31:53
Problema Nuke Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Read()’: user.cpp:32:16: error: ‘struct Event’ has no member named ‘y’ E[cnt].y = y; ^ user.cpp:43:16: error: ‘struct Event’ has no member named ‘y’ E[cnt].y = y; ^ user.cpp:47:16: error: ‘struct Event’ has no member named ‘y’ E[cnt].y = y; ^ user.cpp: In function ‘void Solve()’: user.cpp:66:27: error: ‘struct Event’ has no member named ‘y’ S.insert(E[i].y); ^ user.cpp:67:22: error: ‘struct Event’ has no member named ‘y’ Poz[E[i].y] = E[i].poz; ^ user.cpp:71:26: error: ‘struct Event’ has no member named ‘y’ S.erase(E[i].y); ^ user.cpp:72:22: error: ‘struct Event’ has no member named ‘y’ Poz[E[i].y] = 0; ^ user.cpp:76:42: error: ‘struct Event’ has no member named ‘y’ auto it = S.lower_bound(E[i].y); ^ user.cpp:81:56: error: ‘struct Event’ has no member named ‘y’ if(Intersect(p, make_pair(E[i].x, E[i].y))) ^ user.cpp:88:52: error: ‘struct Event’ has no member named ‘y’ if(Intersect(p, make_pair(E[i].x, E[i].y))) ^ user.cpp: In function ‘void Read()’: user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:39:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &r); ^ user.cpp: In function ‘int main()’: user.cpp:97:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nuke.in", "r", stdin); ^ user.cpp:98:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nuke.out","w",stdout); ^

Ceva nu functioneaza?