Pagini recente » Borderou de evaluare (job #2262569) | Borderou de evaluare (job #2918495) | Borderou de evaluare (job #462697) | Borderou de evaluare (job #1965762) | Borderou de evaluare (job #2417549)
Borderou de evaluare (job #2417549)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:51: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=1;k<i;k++) if (sl^d[k][j]^d[i-k][j]==0) nr++;//printf("%d\n",sl^d[k][j]^d[i-k][j]);
~~~~~~~~~^~~
main.cpp:35:51: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=1;k<j;k++) if (sl^d[i][k]^d[i][j-k]==0) nr++;//printf("%d\n",sl^d[i][k]^d[i][j-k]);
~~~~~~~~~^~~
main.cpp:36:53: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=2;k<i;k++) if (sl^d[k-1][j]^d[i-1][j]==0) nr++;//printf("%d\n",sl^d[k-1][j]^d[i-k][j]);
~~~~~~~~~^~~
main.cpp:37:53: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=2;k<j;k++) if (sl^d[i][k-1]^d[i][j-1]==0) nr++;//printf("%d\n",sl^d[i][k-1]^d[i][j-k]);
~~~~~~~~~^~~
main.cpp:38:41: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if (i>2&&j>2) if (sl^d[i-2][j-2]==0) nr++;//printf("%d\n",sl^d[i-2][j-2]);
~~~~~~~~~~~^~~
main.cpp:11:13: warning: unused variable 'n' [-Wunused-variable]
int i,j,n,m=0,k;
^
main.cpp:9:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("joc2.in","r",stdin);
^
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("joc2.out","w",stdout);
^
main.cpp:25:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:27:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x[i],&y[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 31ms | 262kb | Incorect | 0 |
2 | 31ms | 393kb | Incorect | 0 |
3 | 31ms | 262kb | Incorect | 0 |
4 | 31ms | 262kb | Incorect | 0 |
5 | 31ms | 262kb | OK | 5 |
6 | 31ms | 262kb | Incorect | 0 |
7 | 31ms | 262kb | Incorect | 0 |
8 | 31ms | 262kb | Incorect | 0 |
9 | 31ms | 262kb | Incorect | 0 |
10 | 31ms | 262kb | Incorect | 0 |
11 | 31ms | 262kb | Incorect | 0 |
12 | 31ms | 262kb | Incorect | 0 |
13 | 31ms | 262kb | Incorect | 0 |
14 | 31ms | 262kb | Incorect | 0 |
15 | 31ms | 262kb | Incorect | 0 |
16 | 31ms | 262kb | Incorect | 0 |
17 | 31ms | 262kb | Incorect | 0 |
18 | 31ms | 262kb | Incorect | 0 |
19 | 31ms | 262kb | Incorect | 0 |
20 | 31ms | 262kb | Incorect | 0 |
Punctaj total | 5 |