Pagini recente » Borderou de evaluare (job #560304) | Borderou de evaluare (job #1642884) | Borderou de evaluare (job #936321) | Borderou de evaluare (job #568217) | Borderou de evaluare (job #1544706)
Borderou de evaluare (job #1544706)
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:22: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:25: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:7:12: warning: array subscript is above array bounds [-Warray-bounds]
mut[nr++][2]=1;
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 296kb | Invalid move! | 0 | 0 |
✗ | 2 | 0ms | 296kb | Invalid move! | 0 | 0 |
✗ | 3 | 0ms | 296kb | Invalid move! | 0 | 0 |
✗ | 4 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 5 | 0ms | 300kb | Invalid move! | 0 | 0 |
✗ | 6 | 0ms | 300kb | Invalid sequence! | 0 | 0 |
✓ | 7 | 0ms | 312kb | Invalid move! | 0 | 0 |
✗ | 8 | 0ms | 316kb | Invalid move! | 0 | 0 |
✗ | 9 | 0ms | 360kb | Invalid move! | 0 | 0 |
✗ | 10 | 0ms | 368kb | Invalid move! | 0 | 0 |
✗ | 11 | 8ms | 540kb | Invalid move! | 0 | 0 |
✗ | 12 | 12ms | 668kb | Invalid move! | 0 | 0 |
✗ | 13 | 44ms | 1476kb | Invalid move! | 0 | 0 |
✗ | 14 | 56ms | 1832kb | Invalid move! | 0 | 0 |
✗ | 15 | 72ms | 2128kb | Invalid move! | 0 | 0 |
✗ | 16 | 108ms | 3144kb | Invalid move! | 0 | 0 |
✗ | 17 | 116ms | 3356kb | Invalid move! | 0 | 0 |
✓ | 18 | 148ms | 3952kb | Invalid move! | 0 | 0 |
✗ | 19 | 148ms | 4156kb | Invalid move! | 0 |
✗ | 20 | 152ms | 4124kb | Invalid move! | 0 |
Punctaj total | 0 |