Borderou de evaluare (job #2116208)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 27 ianuarie 2018 13:27:21
Problema Puzzle3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘void read(char*, bool*)’: user.cpp:35:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(!good[c]) c = nextch(); ^ user.cpp:36:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(good[c]){ ^ user.cpp:37:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(good[c] == 1) v[++v[0]] = c - '0', w[v[0]] = 1; ^ user.cpp:37:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(good[c] == 1) v[++v[0]] = c - '0', w[v[0]] = 1; ^ user.cpp:37:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(good[c] == 1) v[++v[0]] = c - '0', w[v[0]] = 1; ^ user.cpp:38:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] else v[++v[0]] = '*', w[v[0]] = 0; ^ user.cpp:38:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] else v[++v[0]] = '*', w[v[0]] = 0; ^ user.cpp: In function ‘int main()’: user.cpp:53:9: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow] if(pos <= A[0]){ ^ user.cpp:53:9: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow] if(pos <= A[0]){ ^ user.cpp:75:9: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow] if(pos <= A[0] && !fA[pos]) A[pos] = 9; ^ user.cpp:75:9: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow] if(pos <= A[0] && !fA[pos]) A[pos] = 9; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms524kbCorect5
20ms520kbCorect5
30ms524kbCorect5
40ms540kbIncorect0
50ms536kbIncorect0
60ms528kbIncorect0
70ms536kbIncorect0
80ms540kbIncorect0
94ms536kbIncorect0
104ms540kbIncorect0
118ms536kbIncorect0
124ms540kbIncorect0
138ms532kbIncorect0
1436ms536kbIncorect0
1540ms536kbIncorect0
1636ms532kbIncorect0
1740ms540kbIncorect0
1840ms536kbIncorect0
1940ms536kbIncorect0
2036ms536kbIncorect0
Punctaj total15

Ceva nu functioneaza?