Borderou de evaluare (job #1921684)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 10 martie 2017 13:51:00
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:77:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] int nr = cod[s[i]]; ^ user.cpp: In function ‘int main()’: user.cpp:119:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f1[s1[j]] = true; ^ user.cpp:125:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f2[s2[j]] = true; ^ user.cpp:132:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f1[ch] != f2[ch]) { ^ user.cpp:132:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f1[ch] != f2[ch]) { ^ user.cpp:140:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:140:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:140:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:152:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (isalpha (s1[j]) && !cod[s1[j]]) ^ user.cpp:153:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[s1[j]] = v[++k]; ^ user.cpp:167:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:167:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:167:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:172:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:172:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] cod[ch] = f1[ch] = f2[ch] = false; ^ user.cpp:172: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ăşit236kbTime limit exceeded.0
20ms248kbOK10
3Depăşit232kbTime limit exceeded.0
40ms252kbOK10
512ms244kbOK10
60ms244kbIncorect0
7Depăşit244kbTime limit exceeded.0
80ms244kbOK10
90ms252kbOK10
10Depăşit248kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?