Borderou de evaluare (job #1605818)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 19 februarie 2016 15:29:45
Problema Reactivi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void sortare(int)’: user.cpp:18:64: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(subst[i].x>subst[j].x || subst[i].x==subst[j].x && subst[i].y>subst[j].y){ ^ user.cpp: In function ‘void frigidere(int)’: user.cpp:32:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(subst[i].x<=f[j].x && subst[i].y<=f[j].y || f[j].x<=subst[i].y && f[j].y>=subst[i].x || f[j].x>=subst[i].x && f[j].y<=subst[i].y || f[j].x>=subst[i].x && f[j].y<=subst[i].y){ ^ user.cpp:32:123: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(subst[i].x<=f[j].x && subst[i].y<=f[j].y || f[j].x<=subst[i].y && f[j].y>=subst[i].x || f[j].x>=subst[i].x && f[j].y<=subst[i].y || f[j].x>=subst[i].x && f[j].y<=subst[i].y){ ^ user.cpp:32:167: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(subst[i].x<=f[j].x && subst[i].y<=f[j].y || f[j].x<=subst[i].y && f[j].y>=subst[i].x || f[j].x>=subst[i].x && f[j].y<=subst[i].y || f[j].x>=subst[i].x && f[j].y<=subst[i].y){ ^ user.cpp: In function ‘void citire(int)’: user.cpp:11:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &subst[i].x, &subst[i].y); ^ user.cpp: In function ‘int main()’: user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reactivi.in","r",stdin); ^ user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reactivi.out","w",stdout); ^ user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms448kbOK1010
20ms452kbOK1010
34ms460kbOK1010
4Depăşit472kbTime limit exceeded.00
528ms484kbOK100
60ms452kbOK10
7Depăşit476kbTime limit exceeded.0
84ms460kbOK10
9Depăşit476kbTime limit exceeded.0
100ms448kbOK10
Punctaj total30

Ceva nu functioneaza?