Borderou de evaluare (job #1027371)

Utilizator IoannaPandele Ioana Ioanna Data 12 noiembrie 2013 18:48:02
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void aduna(char*, char*, char*)’: user.cpp:30:22: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same pointer type ‘char*’ as the destination; expected ‘char’ or an explicit length [-Wsizeof-pointer-memaccess] memset(c,0,sizeof(a)); ^ user.cpp:42:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[++c[0]] = t; ^ user.cpp: In function ‘void scadere(char*, char*, char*)’: user.cpp:71:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (c[c[0]] == 0) c[0]--; ^ user.cpp: In function ‘int findString()’: user.cpp:79:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[++a[0]] = n % 10; ^ user.cpp:91:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[++b[0]] = n % 10; ^ user.cpp:96:9: warning: unused variable ‘op’ [-Wunused-variable] int op; ^ user.cpp: In function ‘void calc(int)’: user.cpp:132:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[++a[0]] = n % 10; ^ user.cpp:142:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[++b[0]] = n % 10; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms392kbKilled by signal 11(SIGSEGV).0
20ms392kbKilled by signal 11(SIGSEGV).0
30ms392kbKilled by signal 11(SIGSEGV).0
40ms392kbKilled by signal 11(SIGSEGV).0
50ms392kbKilled by signal 11(SIGSEGV).0
60ms388kbKilled by signal 11(SIGSEGV).0
70ms388kbKilled by signal 11(SIGSEGV).0
80ms392kbKilled by signal 11(SIGSEGV).0
90ms388kbKilled by signal 11(SIGSEGV).0
100ms388kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?