Pagini recente » Borderou de evaluare (job #269008) | Borderou de evaluare (job #1993422) | Borderou de evaluare (job #2103816) | Borderou de evaluare (job #1699219) | Borderou de evaluare (job #1544918)
Borderou de evaluare (job #1544918)
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 | 284kb | Invalid move! | 0 | 0 |
✗ | 2 | 0ms | 292kb | Invalid move! | 0 | 0 |
✗ | 3 | 0ms | 288kb | Invalid move! | 0 | 0 |
✗ | 4 | 0ms | 296kb | Invalid move! | 0 | 0 |
✗ | 5 | 0ms | 292kb | Invalid move! | 0 | 0 |
✗ | 6 | 0ms | 288kb | Invalid move! | 0 | 0 |
✓ | 7 | 0ms | 312kb | Invalid move! | 0 | 0 |
✗ | 8 | 0ms | 316kb | Invalid move! | 0 | 0 |
✗ | 9 | 0ms | 348kb | Invalid move! | 0 | 0 |
✗ | 10 | 0ms | 360kb | Invalid move! | 0 | 0 |
✗ | 11 | 8ms | 540kb | Invalid move! | 0 | 0 |
✗ | 12 | 12ms | 660kb | Invalid move! | 0 | 0 |
✗ | 13 | 44ms | 1468kb | Invalid move! | 0 | 0 |
✗ | 14 | 60ms | 1804kb | Invalid move! | 0 | 0 |
✗ | 15 | 68ms | 2124kb | Invalid move! | 0 | 0 |
✗ | 16 | 112ms | 3140kb | Invalid move! | 0 | 0 |
✗ | 17 | 116ms | 3328kb | Invalid move! | 0 | 0 |
✓ | 18 | 148ms | 3876kb | Invalid move! | 0 | 0 |
✗ | 19 | 144ms | 3964kb | Invalid move! | 0 |
✗ | 20 | 136ms | 3988kb | Invalid move! | 0 |
Punctaj total | 0 |