Pagini recente » Borderou de evaluare (job #1682735) | Borderou de evaluare (job #2713457) | Borderou de evaluare (job #1931387) | Borderou de evaluare (job #2564363) | Borderou de evaluare (job #1956226)
Borderou de evaluare (job #1956226)
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: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 | 276kb | Raspuns Gresit! | 0 | 0 |
| 2 | 0ms | 276kb | OK! | 10 |
| 3 | 0ms | 284kb | OK! | 10 |
| 4 | 0ms | 292kb | OK! | 10 | 10 |
| 5 | 0ms | 328kb | OK! | 10 | 10 |
| 6 | 0ms | 392kb | OK! | 10 | 10 |
| 7 | 4ms | 440kb | OK! | 10 | 10 |
| 8 | 4ms | 508kb | OK! | 10 | 10 |
| 9 | 4ms | 572kb | OK! | 10 | 10 |
| 10 | 8ms | 620kb | OK! | 10 | 10 |
| Punctaj total | 70 |