Pagini recente » Borderou de evaluare (job #1482403) | Borderou de evaluare (job #2184680) | Borderou de evaluare (job #1002894) | Borderou de evaluare (job #1388532) | Borderou de evaluare (job #1421083)
Borderou de evaluare (job #1421083)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:42:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:50:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:62:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:69:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:77:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:90:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:97:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:109:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:16:22: warning: unused variable ‘pmin2’ [-Wunused-variable]
long long pmin1, pmin2, pmax1, pmax2, pmax3, mx, mn;
^
user.cpp:84:58: warning: ‘pmax3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = poz[pmax1] * poz[pmax2] * poz[pmax3];
^
user.cpp:78:35: warning: ‘pmax2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmax1 || i == pmax2)
^
user.cpp:43:17: warning: ‘pmax1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmax1)
^
user.cpp:114:63: warning: ‘pmin1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = -1 * poz[0] * poz[1] * neg[pmin1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 788kb | Incorect | 0 |
Punctaj total | 0 |