Pagini recente » Borderou de evaluare (job #2705937) | Borderou de evaluare (job #449265) | Borderou de evaluare (job #1779545) | Borderou de evaluare (job #2880576) | Borderou de evaluare (job #1421317)
Borderou de evaluare (job #1421317)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:46:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:54:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:68:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:75:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:83: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 < neg.size(); ++i){
^
user.cpp:104:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < neg.size(); ++i){
^
user.cpp:114:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < poz.size(); ++i){
^
user.cpp:14:57: warning: unused variable ‘pmax4’ [-Wunused-variable]
long long pmin1, pmin2, pmin3, pmax1, pmax2, pmax3, pmax4, mx, mn;
^
user.cpp:90:62: warning: ‘pmax3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = poz[pmax1] * poz[pmax2] * poz[pmax3];
^
user.cpp:84:39: warning: ‘pmax2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmax1 || i == pmax2)
^
user.cpp:84:25: warning: ‘pmax1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmax1 || i == pmax2)
^
user.cpp:62:59: warning: ‘pmin3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez = -1 * neg[pmin1] * neg[pmin2] * neg[pmin3];
^
user.cpp:55:31: warning: ‘pmin2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmin1 || i == pmin2)
^
user.cpp:55:17: warning: ‘pmin1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i == pmin1 || i == pmin2)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 120ms | 788kb | OK | 100 |
Punctaj total | 100 |