Pagini recente » Borderou de evaluare (job #2402261) | Borderou de evaluare (job #1297998) | Borderou de evaluare (job #1686433) | Borderou de evaluare (job #1910940) | Borderou de evaluare (job #1600033)
Borderou de evaluare (job #1600033)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[i]>=x&&x>=x2[i]||x1[i]<=x&&x<=x2[i])&&(y1[i]<=y&&y<=y2[i]||y1[i]>=y&&y>=y2[i]))
^
user.cpp:36:66: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[i]>=x&&x>=x2[i]||x1[i]<=x&&x<=x2[i])&&(y1[i]<=y&&y<=y2[i]||y1[i]>=y&&y>=y2[i]))
^
user.cpp:37:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[j]>=x&&x>=x2[j]||x1[j]<=x&&x<=x2[j])&&(y1[j]<=y&&y<=y2[j]||y1[j]>=y&&y>=y2[j]))
^
user.cpp:37:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[j]>=x&&x>=x2[j]||x1[j]<=x&&x<=x2[j])&&(y1[j]<=y&&y<=y2[j]||y1[j]>=y&&y>=y2[j]))
^
user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&n);
^
user.cpp:13:62: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lf%lf%lf%lf" ,&x1[i],&y1[i],&x2[i],&y2[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 320kb | OK | 10 | 0 |
| 2 | 0ms | 324kb | OK | 10 |
| 3 | 0ms | 320kb | Incorect | 0 |
| 4 | 0ms | 316kb | Incorect | 0 |
| 5 | 0ms | 324kb | Incorect | 0 |
| 6 | 0ms | 320kb | Incorect | 0 | 0 |
| 7 | 8ms | 320kb | Incorect | 0 | 0 |
| 8 | 8ms | 316kb | Incorect | 0 | 0 |
| 9 | 8ms | 316kb | Incorect | 0 | 0 |
| 10 | 8ms | 324kb | Incorect | 0 | 0 |
| Punctaj total | 0 |