Pagini recente » Borderou de evaluare (job #1241074) | Borderou de evaluare (job #751016) | Borderou de evaluare (job #827910) | Borderou de evaluare (job #1896068) | Borderou de evaluare (job #1615680)
Borderou de evaluare (job #1615680)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee()’:
user.cpp:26:99: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] == 0 || a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] > a[t.x][t.y][t.z]+1)
^
user.cpp:26:104: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] == 0 || a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] > a[t.x][t.y][t.z]+1)
^
user.cpp:26:109: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] == 0 || a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] > a[t.x][t.y][t.z]+1)
^
user.cpp:29:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]]=a[t.x][t.y][t.z]+1;
^
user.cpp:29:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]]=a[t.x][t.y][t.z]+1;
^
user.cpp:29:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]]=a[t.x][t.y][t.z]+1;
^
user.cpp: In function ‘int main()’:
user.cpp:44:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:44:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:65:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] == a[t.x][t.y][t.z]-1)
^
user.cpp:65:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] == a[t.x][t.y][t.z]-1)
^
user.cpp:65:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[t.x+ox[i]][t.y+oy[i]][t.z+oz[i]] == a[t.x][t.y][t.z]-1)
^
user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.in", "r", stdin);
^
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.out", "w", stdout);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:47:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &ix, &iy, &iz);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |