Borderou de evaluare (job #1921617)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 10 martie 2017 13:30:43
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int evaluare(char*)’: user.cpp:73:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] int nr = cod[s[i]]; ^ user.cpp:63:8: warning: variable ‘top’ set but not used [-Wunused-but-set-variable] char top; ^ user.cpp:64:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x; ^ user.cpp: In function ‘int main()’: user.cpp:117:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f1[s1[j]] = true; ^ user.cpp:123:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f2[s2[j]] = true; ^ user.cpp:130:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f1[ch] != f2[ch]) { ^ user.cpp:130:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f1[ch] != f2[ch]) { ^ user.cpp:138:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:138:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:138:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:150:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (isalpha (s1[j]) && !cod[s1[j]]) ^ user.cpp:151:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[s1[j]] = v[++k]; ^ user.cpp:165:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:165:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:165:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:170:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit268kbTime limit exceeded.0
20ms280kbOK10
3Depăşit268kbTime limit exceeded.0
40ms280kbOK10
520ms280kbOK10
60ms268kbKilled by signal 11(SIGSEGV).0
7Depăşit276kbTime limit exceeded.0
80ms280kbOK10
90ms276kbOK10
10Depăşit272kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?