Pagini recente » Borderou de evaluare (job #2880765) | Borderou de evaluare (job #2950810) | Borderou de evaluare (job #1350285) | Borderou de evaluare (job #1269259) | Borderou de evaluare (job #1421207)
Borderou de evaluare (job #1421207)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:40:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:48:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:82:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:89:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:97:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:111:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:118:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:128:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:14:22: warning: unused variable ‘pmin2’ [-Wunused-variable]
long long pmin1, pmin2, pmax1, pmax2, pmax3, pmax4, mx, mn;
^
user.cpp:14:50: warning: unused variable ‘pmax4’ [-Wunused-variable]
long long pmin1, pmin2, pmax1, pmax2, pmax3, pmax4, mx, mn;
^
user.cpp:104:62: warning: ‘pmax3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = poz[pmax1] * poz[pmax2] * poz[pmax3];
^
user.cpp:98:39: warning: ‘pmax2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmax1 || i == pmax2)
^
user.cpp:41:17: warning: ‘pmax1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmax1)
^
user.cpp:53:59: warning: ‘pmin1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = -1 * neg[pmax1] * neg[pmax2] * neg[pmin1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 120ms | 788kb | Incorect | 0 |
Punctaj total | 0 |