Pagini recente » Borderou de evaluare (job #3210565) | Borderou de evaluare (job #1833942) | Borderou de evaluare (job #2825591) | Borderou de evaluare (job #1203505) | Borderou de evaluare (job #1421347)
Borderou de evaluare (job #1421347)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&T);
^
user.cpp:76:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:78:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
user.cpp:184:72: warning: ‘mneg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
aux = min2Pozm(mpoz1,mpoz2,mpoz3) * minNegm(mneg1,mneg2,mneg3,nrNegm);
^
user.cpp:184:72: warning: ‘mneg2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:184:72: warning: ‘mneg1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:27:64: warning: ‘Mneg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
} else if (abs(Mneg2) >= abs(Mneg1) && abs(Mneg2) >= abs(Mneg3)) {
^
user.cpp:68:20: note: ‘Mneg3’ was declared here
int Mneg1, Mneg2, Mneg3;
^
user.cpp:25:29: warning: ‘Mneg2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (abs(Mneg1) >= abs(Mneg2) && abs(Mneg1) >= abs(Mneg3)) {
^
user.cpp:68:13: note: ‘Mneg2’ was declared here
int Mneg1, Mneg2, Mneg3;
^
user.cpp:25:15: warning: ‘Mneg1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (abs(Mneg1) >= abs(Mneg2) && abs(Mneg1) >= abs(Mneg3)) {
^
user.cpp:68:6: note: ‘Mneg1’ was declared here
int Mneg1, Mneg2, Mneg3;
^
user.cpp:55:18: warning: ‘mpoz3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mpoz1 * mpoz3;
^
user.cpp:67:20: note: ‘mpoz3’ was declared here
int mpoz1, mpoz2, mpoz3;
^
user.cpp:53:18: warning: ‘mpoz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mpoz2 * mpoz3;
^
user.cpp:67:13: note: ‘mpoz2’ was declared here
int mpoz1, mpoz2, mpoz3;
^
user.cpp:55:18: warning: ‘mpoz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mpoz1 * mpoz3;
^
user.cpp:67:6: note: ‘mpoz1’ was declared here
int mpoz1, mpoz2, mpoz3;
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 260kb | Incorect | 0 |
Punctaj total | 0 |