Borderou de evaluare (job #1240535)

Utilizator danalex97Dan H Alexandru danalex97 Data 11 octombrie 2014 16:11:20
Problema Nuke Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:18:13: error: ‘N’ was not declared in this scope int n,m,ans[N]; ^ user.cpp:20:8: error: ‘N’ was not declared in this scope qu a[3*N]; ^ user.cpp:21:6: error: ‘N’ was not declared in this scope qu b[N]; ^ user.cpp: In function ‘void check(int, int)’: user.cpp:32:17: error: ‘a’ was not declared in this scope if ( 1LL * (a[x].x - b[y].x) * (a[x].x - b[y].x) + 1LL * (a[x].y - b[y].y) * (a[x].y - b[y].y) <= 1LL * b[y].r * b[y].r ) ^ user.cpp:32:26: error: ‘b’ was not declared in this scope if ( 1LL * (a[x].x - b[y].x) * (a[x].x - b[y].x) + 1LL * (a[x].y - b[y].y) * (a[x].y - b[y].y) <= 1LL * b[y].r * b[y].r ) ^ user.cpp:33:9: error: ‘ans’ was not declared in this scope ans[b[y].ord]++; ^ user.cpp: In function ‘int main()’: user.cpp:48:9: error: ‘a’ was not declared in this scope a[i] = now; ^ user.cpp:55:9: error: ‘b’ was not declared in this scope b[i] = now; ^ user.cpp:86:12: error: ‘ans’ was not declared in this scope G<<ans[i]<<'\n'; ^ user.cpp:39:33: 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:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:44:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&now.x,&now.y); ^ user.cpp:53:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&now.x,&now.y,&now.r); ^

Ceva nu functioneaza?