Pagini recente » Borderou de evaluare (job #1427206) | Borderou de evaluare (job #2010868) | Borderou de evaluare (job #342811) | Borderou de evaluare (job #1360215) | Borderou de evaluare (job #1530388)
Borderou de evaluare (job #1530388)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:28: warning: statement has no effect [-Wunused-value]
a[j][k]==1;
^
user.cpp:36:28: warning: statement has no effect [-Wunused-value]
a[j][1]==1;a[j][2]=1;
^
user.cpp:49:28: warning: statement has no effect [-Wunused-value]
a[j][1]==1;a[j][2]=1;
^
user.cpp:13:22: warning: array subscript is above array bounds [-Warray-bounds]
a[0][1]=-1;a[0][2]=-1;
^
user.cpp:14:30: warning: array subscript is above array bounds [-Warray-bounds]
a[n/2+1][1]=-1;a[n/2+1][2]=-1;
^
user.cpp:35:36: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j][1]==0 &&a[j][2]==0) {
^
user.cpp:36:38: warning: array subscript is above array bounds [-Warray-bounds]
a[j][1]==1;a[j][2]=1;
^
user.cpp:48:36: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j][1]==0 &&a[j][2]==0 &&(a[j+1][1]==0 ||a[j+1][2]==0 ||a[j-1][1]==0 ||a[j-1][2]==0)) {
^
user.cpp:48:67: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j][1]==0 &&a[j][2]==0 &&(a[j+1][1]==0 ||a[j+1][2]==0 ||a[j-1][1]==0 ||a[j-1][2]==0)) {
^
user.cpp:48:97: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j][1]==0 &&a[j][2]==0 &&(a[j+1][1]==0 ||a[j+1][2]==0 ||a[j-1][1]==0 ||a[j-1][2]==0)) {
^
user.cpp:49:38: warning: array subscript is above array bounds [-Warray-bounds]
a[j][1]==1;a[j][2]=1;
^
user.cpp:55:34: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j-1][2]==0) {
^
user.cpp:56:29: warning: array subscript is above array bounds [-Warray-bounds]
a[j-1][2]=1;
^
user.cpp:65:34: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j+1][2]==0) {
^
user.cpp:66:29: warning: array subscript is above array bounds [-Warray-bounds]
a[j+1][2]=1;
^
user.cpp:23:23: warning: array subscript is above array bounds [-Warray-bounds]
if (a[j][k]==0) {
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 444kb | Incorect | 0 |
✓ | 2 | 12ms | 480kb | Incorect | 0 |
✓ | 3 | 260ms | 516kb | Incorect | 0 |
✓ | 4 | Depăşit | 492kb | Time limit exceeded. | 0 |
✓ | 5 | Depăşit | 496kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 500kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 484kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 492kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 504kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 496kb | Time limit exceeded. | 0 |
Punctaj total | 0 |