Pagini recente » Borderou de evaluare (job #17640) | Borderou de evaluare (job #961579) | Borderou de evaluare (job #725722) | Borderou de evaluare (job #746437) | Borderou de evaluare (job #1659307)
Borderou de evaluare (job #1659307)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:13: warning: unused variable ‘nr’ [-Wunused-variable]
int n,i,nr,poz=1,l1,l2,mij,poz2,cautat,pp,poz3,pmax=0,pmax2=0,poz4,j,s,smax=0;
^
user.cpp:10:37: warning: unused variable ‘cautat’ [-Wunused-variable]
int n,i,nr,poz=1,l1,l2,mij,poz2,cautat,pp,poz3,pmax=0,pmax2=0,poz4,j,s,smax=0;
^
user.cpp:10:47: warning: variable ‘poz3’ set but not used [-Wunused-but-set-variable]
int n,i,nr,poz=1,l1,l2,mij,poz2,cautat,pp,poz3,pmax=0,pmax2=0,poz4,j,s,smax=0;
^
user.cpp:10:59: warning: unused variable ‘pmax2’ [-Wunused-variable]
int n,i,nr,poz=1,l1,l2,mij,poz2,cautat,pp,poz3,pmax=0,pmax2=0,poz4,j,s,smax=0;
^
user.cpp:10:67: warning: unused variable ‘poz4’ [-Wunused-variable]
int n,i,nr,poz=1,l1,l2,mij,poz2,cautat,pp,poz3,pmax=0,pmax2=0,poz4,j,s,smax=0;
^
user.cpp:10:72: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,nr,poz=1,l1,l2,mij,poz2,cautat,pp,poz3,pmax=0,pmax2=0,poz4,j,s,smax=0;
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euro2.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euro2.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f",&v[i]);
^
user.cpp:100:20: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p2[i]=n-poz2+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | Corect | 5 |
2 | 0ms | 328kb | Corect | 5 |
3 | 0ms | 328kb | Raspuns gresit | 0 |
4 | 0ms | 324kb | Raspuns gresit | 0 |
5 | 0ms | 328kb | Raspuns gresit | 0 |
6 | 0ms | 332kb | Raspuns gresit | 0 |
7 | 0ms | 340kb | Raspuns gresit | 0 |
8 | 0ms | 344kb | Raspuns gresit | 0 |
9 | 0ms | 356kb | Raspuns gresit | 0 |
10 | 0ms | 372kb | Raspuns gresit | 0 |
11 | 0ms | 388kb | Raspuns gresit | 0 |
12 | 4ms | 404kb | Raspuns gresit | 0 |
13 | 4ms | 424kb | Raspuns gresit | 0 |
14 | 4ms | 440kb | Raspuns gresit | 0 |
15 | 4ms | 460kb | Raspuns gresit | 0 |
Punctaj total | 10 |