Borderou de evaluare (job #1904192)

Utilizator akaprosAna Kapros akapros Data 5 martie 2017 13:49:05
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:53: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:70:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:71: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:73: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:75: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:77: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:48: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
220ms8592kbKilled by signal 11(SIGSEGV).0
320ms8592kbKilled by signal 11(SIGSEGV).0
420ms8596kbKilled by signal 11(SIGSEGV).0
50ms432kbpornire gresita0
60ms432kbdisc plasat gresit pe linia 0
70ms412kbultima linie gresita 0
820ms436kbdisc plasat gresit pe linia 0
940ms432kbdisc plasat gresit pe linia 0
1084ms436kbdisc plasat gresit pe linia 0
1120ms8592kbKilled by signal 11(SIGSEGV).0
1220ms8592kbKilled by signal 11(SIGSEGV).0
1340ms432kbpornire gresita0
140ms408kbultima linie gresita 0
150ms408kbultima linie gresita 0
1620ms8596kbKilled by signal 11(SIGSEGV).0
1720ms8592kbKilled by signal 11(SIGSEGV).0
1820ms8592kbKilled by signal 11(SIGSEGV).0
1920ms8592kbKilled by signal 11(SIGSEGV).0
200ms416kbultima linie gresita 0
Punctaj total0

Ceva nu functioneaza?