Pagini recente » Borderou de evaluare (job #2328330) | Borderou de evaluare (job #2645901) | Borderou de evaluare (job #798359) | Borderou de evaluare (job #433569) | Borderou de evaluare (job #1956243)
Borderou de evaluare (job #1956243)
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 | 268kb | OK! | 10 | 30 |
2 | 0ms | 272kb | OK! | 10 |
3 | 0ms | 280kb | OK! | 10 |
4 | 0ms | 288kb | OK! | 10 | 10 |
5 | 0ms | 332kb | OK! | 10 | 10 |
6 | 0ms | 396kb | OK! | 10 | 10 |
7 | 4ms | 440kb | OK! | 10 | 10 |
8 | 4ms | 508kb | OK! | 10 | 10 |
9 | 4ms | 572kb | OK! | 10 | 10 |
10 | 8ms | 616kb | OK! | 10 | 10 |
Punctaj total | 100 |