Pagini recente »
Borderou de evaluare (job #606670)
Borderou de evaluare (job #606670)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
43 | if(c=1)
| ~^~
main.cpp:8:9: warning: variable 'as' set but not used [-Wunused-but-set-variable]
8 | int as,c,v,n,f,m,a,y,tarf,vf[10000],vm[10000],va[10000],vp[10000],v1=0,v2=0,v3=0,v4,num1=0,num2=0,num3=0,num4=0;
| ^~
main.cpp:8:24: warning: unused variable 'y' [-Wunused-variable]
8 | int as,c,v,n,f,m,a,y,tarf,vf[10000],vm[10000],va[10000],vp[10000],v1=0,v2=0,v3=0,v4,num1=0,num2=0,num3=0,num4=0;
| ^
main.cpp:20:20: warning: 'vf[v1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
20 | v=vf[v1];
| ~~~~~^
main.cpp:26:20: warning: 'vm[v2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
26 | v=vm[v2];
| ~~~~~^
main.cpp:32:20: warning: 'va[v3]' may be used uninitialized in this function [-Wmaybe-uninitialized]
32 | v=va[v3];
| ~~~~~^
main.cpp:38:20: warning: 'vp[v4]' may be used uninitialized in this function [-Wmaybe-uninitialized]
38 | v=vp[v4];
| ~~~~~^
main.cpp:13:18: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 | for(int i=1;i<=n;i++)
| ~^~~
main.cpp:37:15: warning: 'v4' may be used uninitialized in this function [-Wmaybe-uninitialized]
37 | v4=v4+1;
| ~~^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
1 ms
|
131 kb
|
Incorect
|
0
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
131 kb
|
Incorect
|
0
|
14
|
1 ms
|
131 kb
|
Incorect
|
0
|
15
|
1 ms
|
131 kb
|
Incorect
|
0
|
16
|
1 ms
|
131 kb
|
Incorect
|
0
|
17
|
1 ms
|
131 kb
|
Incorect
|
0
|
18
|
1 ms
|
131 kb
|
Incorect
|
0
|
19
|
1 ms
|
131 kb
|
Incorect
|
0
|
20
|
1 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|