Borderou de evaluare (job #1615707)

Utilizator TibiraducanuTiberiu Raducanu Tibiraducanu Data 26 februarie 2016 19:38:40
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void lee()’: 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
10ms292kbKilled by signal 11(SIGSEGV).00
20ms284kbKilled by signal 11(SIGSEGV).0
30ms284kbKilled by signal 11(SIGSEGV).00
40ms284kbKilled by signal 11(SIGSEGV).0
50ms288kbKilled by signal 11(SIGSEGV).00
60ms288kbKilled by signal 11(SIGSEGV).0
70ms292kbKilled by signal 11(SIGSEGV).00
80ms300kbKilled by signal 11(SIGSEGV).00
90ms304kbKilled by signal 11(SIGSEGV).0
100ms300kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?