Borderou de evaluare (job #1921647)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 10 martie 2017 13:40:53
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:69:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] int nr = cod[s[i]]; ^ user.cpp: In function ‘int main()’: user.cpp:110:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f1[s1[j]] = true; ^ user.cpp:116:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f2[s2[j]] = true; ^ user.cpp:123:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f1[ch] != f2[ch]) { ^ user.cpp:123:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f1[ch] != f2[ch]) { ^ user.cpp:131:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:131:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:131:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:143:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (isalpha (s1[j]) && !cod[s1[j]]) ^ user.cpp:144:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[s1[j]] = v[++k]; ^ user.cpp:158:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:158:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:158:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:163:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:163:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:163:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit272kbTime limit exceeded.0
20ms284kbOK10
3Depăşit268kbTime limit exceeded.0
40ms284kbOK10
516ms288kbOK10
60ms276kbKilled by signal 11(SIGSEGV).0
7Depăşit284kbTime limit exceeded.0
80ms284kbOK10
90ms284kbOK10
10Depăşit280kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?