Pagini recente » Borderou de evaluare (job #2551821) | Borderou de evaluare (job #2353797) | Borderou de evaluare (job #703272) | Borderou de evaluare (job #376750) | Borderou de evaluare (job #2417604)
Borderou de evaluare (job #2417604)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:68:33: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=1;k<i;k++) if (sl==d[k][j]^d[i-k][j]) nr++;//printf("%d\n",sl^d[k][j]^d[i-k][j]);
~~^~~~~~~~~
main.cpp:70:33: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=1;k<j;k++) if (sl==d[i][k]^d[i][j-k]) nr++;//printf("%d\n",sl^d[i][k]^d[i][j-k]);
~~^~~~~~~~~
main.cpp:72:33: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=2;k<i;k++) if (sl==d[k-1][j]^d[i-k][j]) nr++;//printf("%d\n",sl^d[k-1][j]^d[i-k][j]);
~~^~~~~~~~~~~
main.cpp:74:33: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
for (k=2;k<j;k++) if (sl==d[i][k-1]^d[i][j-k]) nr++;//printf("%d\n",sl^d[i][k-1]^d[i][j-k]);
~~^~~~~~~~~~~
main.cpp:22:13: warning: unused variable 'n' [-Wunused-variable]
int i,j,n,m=0,k;
^
main.cpp:18: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:20: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:50:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:54: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 | 262kb | Incorect | 0 |
3 | 31ms | 262kb | Incorect | 0 |
4 | 31ms | 262kb | Incorect | 0 |
5 | 31ms | 262kb | OK | 5 |
6 | 31ms | 262kb | Incorect | 0 |
7 | 25ms | 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 | 37ms | 249kb | 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 |