Pagini recente » Borderou de evaluare (job #198492) | Borderou de evaluare (job #2471413) | Borderou de evaluare (job #1820432) | Borderou de evaluare (job #3330354) | Borderou de evaluare (job #1867530)
Borderou de evaluare (job #1867530)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:88:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a==x)
^
user.cpp:81:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(s==maxtot)
^
user.cpp:8:15: warning: unused variable ‘k’ [-Wunused-variable]
int n,i,j,k,maxtot=-1,s,x,y,z,maxv,minv,a,b,c,max1,max2;
^
user.cpp:8:31: warning: unused variable ‘y’ [-Wunused-variable]
int n,i,j,k,maxtot=-1,s,x,y,z,maxv,minv,a,b,c,max1,max2;
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:8:49: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,j,k,maxtot=-1,s,x,y,z,maxv,minv,a,b,c,max1,max2;
^
user.cpp:94:29: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(j==b)
^
user.cpp:88:21: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a==x)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 280kb | OK | 10 |
| 6 | 44ms | 336kb | OK | 10 |
| 7 | 80ms | 360kb | OK | 10 |
| 8 | 112ms | 364kb | OK | 10 |
| 9 | 120ms | 360kb | OK | 10 |
| 10 | 120ms | 360kb | OK | 10 |
| Punctaj total | 100 |