Pagini recente » Borderou de evaluare (job #1092299) | Borderou de evaluare (job #84687) | Borderou de evaluare (job #632202) | Borderou de evaluare (job #749885) | Borderou de evaluare (job #1532815)
Borderou de evaluare (job #1532815)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<n;i++) fin>>v[i];
^
user.cpp:28:25: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=0;i<n;i++) s+=v[i];
^
user.cpp:25:59: warning: ‘poz3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(SMax2+SMax3>SMax){v[poz2]=v[poz2-1]=v[poz3]=v[poz3-1]=0;s=SMax2+SMax3;}
^
user.cpp:25:59: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:27:42: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(SMax2+SMax3<SMax) {v[poz1]=v[poz1-1]=v[poz1-2]=0;s=SMax;}
^
user.cpp:26:42: warning: ‘SumaMax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(SMax2+SMax3<SMax && SumaMax+SMax2+SMax3>SMax) {v[poz2]=v[poz2-1]=v[poz3]=v[poz3-1]=0;s=SMax2+SMax3;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 0ms | 444kb | OK | 10 |
| 6 | 0ms | 448kb | OK | 10 |
| 7 | 0ms | 452kb | Incorect | 0 |
| 8 | 0ms | 448kb | Incorect | 0 |
| 9 | 0ms | 444kb | OK | 10 |
| 10 | 0ms | 440kb | OK | 10 |
| Punctaj total | 80 |