Borderou de evaluare (job #1576958)

Utilizator savigunFeleaga Dragos-George savigun Data 23 ianuarie 2016 01:37:04
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int factor()’: user.cpp:78:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[s[p]]=!v[s[p]]; ^ user.cpp:78:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[s[p]]=!v[s[p]]; ^ user.cpp:79:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] r=v[s[p]]; ^ user.cpp: In function ‘int main()’: user.cpp:143:5: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s[j]=NULL; ^ user.cpp:152:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[c]==0) ^ user.cpp:153:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[c]=1; ^ user.cpp:155:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[c]=0; ^ user.cpp: In function ‘int factor()’: user.cpp:84:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp:72:21: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] return !r; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
20ms432kbIncorect0
30ms428kbIncorect0
40ms432kbIncorect0
50ms432kbIncorect0
60ms432kbIncorect0
70ms436kbIncorect0
80ms436kbIncorect0
90ms428kbIncorect0
100ms432kbIncorect0
Punctaj total0

Ceva nu functioneaza?