Pagini recente » Borderou de evaluare (job #2944445) | Borderou de evaluare (job #1611004) | Borderou de evaluare (job #1114839) | Borderou de evaluare (job #2762207) | Borderou de evaluare (job #1956240)
Borderou de evaluare (job #1956240)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:13: warning: unused variable ‘nr1’ [-Wunused-variable]
int n,i,nr1,nr2,s=0,max=0,poz,poz2,max2;
^
user.cpp:11:17: warning: unused variable ‘nr2’ [-Wunused-variable]
int n,i,nr1,nr2,s=0,max=0,poz,poz2,max2;
^
user.cpp:11:21: warning: unused variable ‘s’ [-Wunused-variable]
int n,i,nr1,nr2,s=0,max=0,poz,poz2,max2;
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:47:42: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n%d %d",max2,poz2,poz2+1);
^
user.cpp:38:34: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(st[i-1]+v[i]+dr[i+1]<max2 && i!=poz)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK! | 10 | 30 |
| 2 | 0ms | 276kb | OK! | 10 |
| 3 | 0ms | 280kb | OK! | 10 |
| 4 | 0ms | 292kb | OK! | 10 | 10 |
| 5 | 0ms | 336kb | OK! | 10 | 10 |
| 6 | 0ms | 396kb | OK! | 10 | 10 |
| 7 | 4ms | 440kb | OK! | 10 | 10 |
| 8 | 4ms | 504kb | OK! | 10 | 10 |
| 9 | 4ms | 568kb | OK! | 10 | 10 |
| 10 | 8ms | 620kb | OK! | 10 | 10 |
| Punctaj total | 100 |