Pagini recente » Borderou de evaluare (job #1204550) | Borderou de evaluare (job #1938259) | Borderou de evaluare (job #2450682) | Borderou de evaluare (job #1240475) | Borderou de evaluare (job #1544469)
Borderou de evaluare (job #1544469)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a[i]==0) if (z1==-1) z1=i;
^
user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("starcity.in","r",stdin);
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("starcity.out","w",stdout);
^
user.cpp:15:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:23:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^
user.cpp: In function ‘void mutare(int, int)’:
user.cpp:7:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=1;
^
user.cpp:9:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=y;
^
user.cpp: In function ‘int main()’:
user.cpp:28:23: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr][2]=z1;
^
user.cpp:7:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=1;
^
user.cpp:9:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=y;
^
user.cpp:7:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=1;
^
user.cpp:9:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=y;
^
user.cpp:7:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=1;
^
user.cpp:9:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=y;
^
user.cpp:55:37: warning: array subscript is above array bounds [-Warray-bounds]
printf("%d %d\n",mut[i][1],mut[i][2]);
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 2 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 3 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 4 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 5 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 6 | 0ms | 300kb | Invalid move! | 0 | 0 |
✓ | 7 | 0ms | 320kb | Invalid move! | 0 | 0 |
✗ | 8 | 0ms | 320kb | Invalid move! | 0 | 0 |
✗ | 9 | 0ms | 364kb | Invalid move! | 0 | 0 |
✗ | 10 | 0ms | 372kb | Invalid move! | 0 | 0 |
✗ | 11 | 8ms | 552kb | Invalid move! | 0 | 0 |
✗ | 12 | 12ms | 672kb | Invalid move! | 0 | 0 |
✗ | 13 | 44ms | 1476kb | Invalid move! | 0 | 0 |
✗ | 14 | 56ms | 1856kb | Invalid move! | 0 | 0 |
✗ | 15 | 72ms | 2156kb | Invalid move! | 0 | 0 |
✗ | 16 | 116ms | 3248kb | Invalid move! | 0 | 0 |
✗ | 17 | 120ms | 3332kb | Invalid move! | 0 | 0 |
✓ | 18 | 144ms | 4032kb | Invalid move! | 0 | 0 |
✗ | 19 | 148ms | 4112kb | Invalid move! | 0 |
✗ | 20 | 144ms | 3924kb | Invalid move! | 0 |
Punctaj total | 0 |