Borderou de evaluare (job #2002798)

Utilizator TincaMateiTinca Matei TincaMatei Data 20 iulie 2017 19:35:19
Problema Password1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(fr2[restr] == 0) ^ user.cpp:56:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(fr2[str[i]] > 0 && str[i] == restr) { ^ user.cpp:58:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] --fr2[str[i]]; ^ user.cpp:59:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] --fr1[str[i]]; ^ user.cpp:60:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] } else if(fr2[str[i]] > 0 && fr1[str[i]] > fr2[str[i]]) ^ user.cpp:60:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] } else if(fr2[str[i]] > 0 && fr1[str[i]] > fr2[str[i]]) ^ user.cpp:60:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] } else if(fr2[str[i]] > 0 && fr1[str[i]] > fr2[str[i]]) ^ user.cpp:61:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] --fr1[str[i]]; ^ user.cpp:62:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(fr2[str[i]] > 0 && fr1[str[i]] == fr2[str[i]]) { ^ user.cpp:62:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(fr2[str[i]] > 0 && fr1[str[i]] == fr2[str[i]]) { ^ user.cpp:62:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(fr2[str[i]] > 0 && fr1[str[i]] == fr2[str[i]]) { ^ user.cpp:64:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr1[str[i]]--; ^ user.cpp:65:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr2[str[i]]--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms200kbOK70
20ms204kbOK7
30ms208kbOK7
40ms204kbIncorect0
50ms220kbIncorect00
60ms236kbOK7
70ms408kbIncorect0
80ms424kbIncorect0
916ms1308kbIncorect0
10200ms10092kbIncorect00
1192ms10096kbOK7
12332ms19860kbIncorect0
1392ms3256kbOK7
14480ms29628kbIncorect0
15480ms29624kbIncorect0
Punctaj total0

Ceva nu functioneaza?