Borderou de evaluare (job #1904235)

Utilizator akaprosAna Kapros akapros Data 5 martie 2017 13:55:16
Problema Hanoi2 Status done
Runda prosoft2017-10 Compilator cpp
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Hanoi(int*, int (*)[20])’: user.cpp:57:24: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memcpy(V, v, sizeof(v)); ^ user.cpp: In function ‘int main()’: user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:75:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n[0], &n[1], &n[2]); ^ user.cpp:77:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[0][i]); ^ user.cpp:79:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[1][i]); ^ user.cpp:81:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[2][i]); ^ user.cpp: In function ‘void Hanoi(int*, int (*)[20])’: user.cpp:51:55: warning: ‘tj[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized] hanoi(n[0] + n[1] + n[2], tj[0], tj[1], tj[2]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms432kbdisc plasat gresit pe linia 0
220ms8588kbKilled by signal 11(SIGSEGV).0
320ms8588kbKilled by signal 11(SIGSEGV).0
420ms8592kbKilled by signal 11(SIGSEGV).0
50ms424kbpornire gresita0
60ms428kbdisc plasat gresit pe linia 0
70ms416kbnu s-a format coloana! 0
820ms428kbdisc plasat gresit pe linia 0
944ms424kbdisc plasat gresit pe linia 0
1080ms436kbdisc plasat gresit pe linia 0
1120ms8588kbKilled by signal 11(SIGSEGV).0
1220ms8588kbKilled by signal 11(SIGSEGV).0
1340ms424kbpornire gresita0
140ms412kbnu s-a format coloana! 0
150ms416kbnu s-a format coloana! 0
1620ms8592kbKilled by signal 11(SIGSEGV).0
1720ms8588kbKilled by signal 11(SIGSEGV).0
1820ms8588kbKilled by signal 11(SIGSEGV).0
1920ms8588kbKilled by signal 11(SIGSEGV).0
200ms416kbnu s-a format coloana! 0
Punctaj total0

Ceva nu functioneaza?