Pagini recente » Borderou de evaluare (job #3227440) | Borderou de evaluare (job #655384) | Borderou de evaluare (job #2161048) | Borderou de evaluare (job #44414) | Borderou de evaluare (job #1418560)
Borderou de evaluare (job #1418560)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:13: warning: unused variable ‘x’ [-Wunused-variable]
int i,j,x,k,NR=0,L_secv,poz_1,poz_2,n,GATA,MAX=0,FINISH,o;
^
user.cpp:41:61: warning: unused variable ‘o’ [-Wunused-variable]
int i,j,x,k,NR=0,L_secv,poz_1,poz_2,n,GATA,MAX=0,FINISH,o;
^
user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arc.in", "r", stdin);
^
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arc.out", "w", stdout);
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&VARIANTA); scanf("%d",&N);
^
user.cpp:43:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&VARIANTA); scanf("%d",&N);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:11:22: warning: ‘poz_2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int w=j; w<=N-k+j-1; w++)
^
user.cpp:41:35: note: ‘poz_2’ was declared here
int i,j,x,k,NR=0,L_secv,poz_1,poz_2,n,GATA,MAX=0,FINISH,o;
^
user.cpp:11:24: warning: ‘poz_1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int w=j; w<=N-k+j-1; w++)
^
user.cpp:41:29: note: ‘poz_1’ was declared here
int i,j,x,k,NR=0,L_secv,poz_1,poz_2,n,GATA,MAX=0,FINISH,o;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 5 |
2 | 0ms | 464kb | OK | 5 |
3 | 0ms | 468kb | OK | 5 |
4 | 0ms | 440kb | OK | 5 |
5 | 0ms | 428kb | OK | 5 |
6 | 0ms | 428kb | OK | 5 |
7 | 0ms | 428kb | OK | 5 |
8 | 0ms | 436kb | OK | 5 |
9 | 0ms | 436kb | OK | 5 |
10 | 0ms | 436kb | OK | 5 |
11 | 8ms | 472kb | OK | 5 |
12 | 28ms | 456kb | OK | 5 |
13 | 8ms | 456kb | OK | 5 |
14 | 4ms | 472kb | OK | 5 |
15 | 36ms | 468kb | OK | 5 |
16 | 0ms | 436kb | OK | 5 |
17 | 8ms | 468kb | OK | 5 |
18 | 4ms | 472kb | OK | 5 |
19 | 0ms | 432kb | OK | 5 |
20 | 0ms | 432kb | OK | 5 |
Punctaj total | 100 |