Borderou de evaluare (job #1531656)

Utilizator TeodorCotetCotet Teodor TeodorCotet Data 21 noiembrie 2015 14:12:38
Problema Calandrinon Status done
Runda FMI No Stress 6 Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘bool can(int)’: user.cpp:23:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g[c] == f[c] && f[c] > 0) ^ user.cpp:23:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g[c] == f[c] && f[c] > 0) ^ user.cpp:23:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(g[c] == f[c] && f[c] > 0) ^ user.cpp: In function ‘int main()’: user.cpp:34:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[i]]++; ^ user.cpp:37:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f[c]) ^ user.cpp:48:7: warning: array subscript has type ‘char’ [-Wchar-subscripts] g[c] = 0; ^ user.cpp:51:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f[s[i]] > 0) { ^ user.cpp:52:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] g[s[i]]++; ^ user.cpp:55:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f[s[i]] == 1) ^ user.cpp:63:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[i]]--; ^ user.cpp:65:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[next]] = 0; ^ user.cpp:41:6: warning: unused variable ‘cnt’ [-Wunused-variable] int cnt = 0; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓10ms436kbIncorect0
✓20ms436kbOK5
✓30ms436kbOK5
✓40ms440kbOK5
✓50ms436kbIncorect0
✓60ms436kbOK5
✓70ms436kbIncorect0
✓80ms436kbIncorect0
✓90ms436kbIncorect0
✓100ms432kbIncorect0
✓1124ms532kbOK5
✓1232ms536kbOK5
✓130ms532kbIncorect0
✓140ms532kbIncorect0
✓15Depăşit1384kbTime limit exceeded.0
✓16Depăşit1384kbTime limit exceeded.0
✓17Depăşit1388kbTime limit exceeded.0
✓18192ms1412kbOK5
✓19152ms1412kbOK5
✓20168ms1412kbOK5
Punctaj total45

Ceva nu functioneaza?