Pagini recente » Borderou de evaluare (job #1794645) | Cod sursa (job #2714028) | Borderou de evaluare (job #1766227) | Borderou de evaluare (job #228807) | Borderou de evaluare (job #2417598)
Borderou de evaluare (job #2417598)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63: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]==0) nr++;//printf("%d\n",sl^d[k][j]^d[i-k][j]);
~~^~~~~~~~~
main.cpp:65: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]==0) nr++;//printf("%d\n",sl^d[i][k]^d[i][j-k]);
~~^~~~~~~~~
main.cpp:67: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]==0) nr++;//printf("%d\n",sl^d[k-1][j]^d[i-k][j]);
~~^~~~~~~~~~~
main.cpp:69: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]==0) nr++;//printf("%d\n",sl^d[i][k-1]^d[i][j-k]);
~~^~~~~~~~~~~
main.cpp:71:29: 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:21:13: warning: unused variable 'n' [-Wunused-variable]
int i,j,n,m,k;
^
main.cpp:21:15: warning: unused variable 'm' [-Wunused-variable]
int i,j,n,m,k;
^
main.cpp:17: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:19: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:45:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:49: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 | 53ms | 262kb | Time limit exceeded | 0 |
| 2 | 52ms | 241kb | Time limit exceeded | 0 |
| 3 | 48ms | 262kb | Incorect | 0 |
| 4 | 54ms | 241kb | Time limit exceeded | 0 |
| 5 | 52ms | 237kb | Time limit exceeded | 0 |
| 6 | 53ms | 262kb | Time limit exceeded | 0 |
| 7 | 53ms | 262kb | Time limit exceeded | 0 |
| 8 | 53ms | 262kb | Time limit exceeded | 0 |
| 9 | 52ms | 241kb | Time limit exceeded | 0 |
| 10 | 48ms | 262kb | Incorect | 0 |
| 11 | 53ms | 262kb | Time limit exceeded | 0 |
| 12 | 54ms | 253kb | Time limit exceeded | 0 |
| 13 | 53ms | 262kb | Time limit exceeded | 0 |
| 14 | 53ms | 262kb | Time limit exceeded | 0 |
| 15 | 53ms | 262kb | Time limit exceeded | 0 |
| 16 | 52ms | 245kb | Time limit exceeded | 0 |
| 17 | 48ms | 262kb | Incorect | 0 |
| 18 | 53ms | 237kb | Time limit exceeded | 0 |
| 19 | 53ms | 262kb | Time limit exceeded | 0 |
| 20 | 53ms | 262kb | Time limit exceeded | 0 |
| Punctaj total | 0 |