Pagini recente » Borderou de evaluare (job #2392049) | Borderou de evaluare (job #336407) | Borderou de evaluare (job #3238589) | Borderou de evaluare (job #1119520) | Borderou de evaluare (job #2417548)
Borderou de evaluare (job #2417548)
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-k][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-k]==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,k;
^
main.cpp:11:15: warning: unused variable 'm' [-Wunused-variable]
int i,j,n,m,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 | 52ms | 262kb | Time limit exceeded | 0 |
2 | 53ms | 262kb | Time limit exceeded | 0 |
3 | 53ms | 262kb | Time limit exceeded | 0 |
4 | 53ms | 262kb | Time limit exceeded | 0 |
5 | 53ms | 262kb | Time limit exceeded | 0 |
6 | 48ms | 262kb | Incorect | 0 |
7 | 53ms | 262kb | Time limit exceeded | 0 |
8 | 49ms | 262kb | Incorect | 0 |
9 | 53ms | 262kb | Time limit exceeded | 0 |
10 | 53ms | 262kb | Time limit exceeded | 0 |
11 | 53ms | 262kb | Time limit exceeded | 0 |
12 | 53ms | 262kb | Time limit exceeded | 0 |
13 | 53ms | 262kb | Time limit exceeded | 0 |
14 | 53ms | 262kb | Time limit exceeded | 0 |
15 | 48ms | 262kb | Incorect | 0 |
16 | 53ms | 262kb | Time limit exceeded | 0 |
17 | 53ms | 262kb | Time limit exceeded | 0 |
18 | 53ms | 262kb | Time limit exceeded | 0 |
19 | 54ms | 262kb | Time limit exceeded | 0 |
20 | 51ms | 393kb | Time limit exceeded | 0 |
Punctaj total | 0 |