Pagini recente » Borderou de evaluare (job #184360) | Borderou de evaluare (job #157193) | Borderou de evaluare (job #2827633) | Borderou de evaluare (job #1054634) | Borderou de evaluare (job #1531967)
Borderou de evaluare (job #1531967)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:36: warning: unused variable ‘j1’ [-Wunused-variable]
int n, m, c, total = 0, j = 0, j1 = 0, j2 = 0, j3 = 0;
^
user.cpp:13:44: warning: unused variable ‘j2’ [-Wunused-variable]
int n, m, c, total = 0, j = 0, j1 = 0, j2 = 0, j3 = 0;
^
user.cpp:13:52: warning: unused variable ‘j3’ [-Wunused-variable]
int n, m, c, total = 0, j = 0, j1 = 0, j2 = 0, j3 = 0;
^
user.cpp:34:67: warning: array subscript is above array bounds [-Warray-bounds]
if(j >= 0 && j <= 49999 && locuri[j][1] == 0)
^
user.cpp:42:63: warning: array subscript is above array bounds [-Warray-bounds]
if(j >= 0 && j <= 49999 && locuri[j][1] == 0)
^
user.cpp:43:41: warning: array subscript is above array bounds [-Warray-bounds]
{locuri[j][1] = 1; out << 2 * j + 2 << "\n";}
^
user.cpp:58:84: warning: array subscript is above array bounds [-Warray-bounds]
if(j >= 0 && j <= 49999 && locuri[j][0] == 0 && locuri[j][1] == 0)
^
user.cpp:64:32: warning: array subscript is above array bounds [-Warray-bounds]
locuri[j][1] = 1;
^
user.cpp:82:60: warning: array subscript is above array bounds [-Warray-bounds]
if(locuri[j][0] == 0 && locuri[j][1] == 0){
^
user.cpp:84:59: warning: array subscript is above array bounds [-Warray-bounds]
locuri[j][0] = locuri[j][1] = locuri[j - 1][0] = 1;
^
user.cpp:90:60: warning: array subscript is above array bounds [-Warray-bounds]
if(j > 0 && locuri[j - 1][1] == 0){
^
user.cpp:91:82: warning: array subscript is above array bounds [-Warray-bounds]
locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1;
^
user.cpp:91:63: warning: array subscript is above array bounds [-Warray-bounds]
locuri[j][0] = locuri[j][1] = locuri[j - 1][1] = 1;
^
user.cpp:98:67: warning: array subscript is above array bounds [-Warray-bounds]
locuri[j][0] = locuri[j][1] = locuri[j + 1][0] = 1;
^
user.cpp:104:72: warning: array subscript is above array bounds [-Warray-bounds]
if(j < 49999 && locuri[j + 1][1] == 0){
^
user.cpp:105:90: warning: array subscript is above array bounds [-Warray-bounds]
locuri[j][0] = locuri[j][1] = locuri[j + 1][1] = 1;
^
user.cpp:105:71: warning: array subscript is above array bounds [-Warray-bounds]
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 444kb | Incorect | 0 |
✓ | 2 | 0ms | 460kb | Corect | 10 |
✓ | 3 | 8ms | 508kb | Incorect | 0 |
✓ | 4 | 16ms | 568kb | Incorect | 0 |
✓ | 5 | Depăşit | 600kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 604kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 604kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 608kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 600kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 600kb | Time limit exceeded. | 0 |
Punctaj total | 10 |