Pagini recente »
Borderou de evaluare (job #67742)
|
Borderou de evaluare (job #267721)
|
Borderou de evaluare (job #111126)
|
Borderou de evaluare (job #268740)
|
Borderou de evaluare (job #606689)
Borderou de evaluare (job #606689)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
60 | if(c=1)
| ~^~
main.cpp:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
64 | if(c=2)
| ~^~
main.cpp:9:23: warning: unused variable 'y' [-Wunused-variable]
9 | 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,maxm=0,maxf=0,maxa=0,maxp=0;
| ^
main.cpp:21:20: warning: 'vf[v1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | v=vf[v1];
| ~~~~~^
main.cpp:31:20: warning: 'vm[v2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | v=vm[v2];
| ~~~~~^
main.cpp:41:20: warning: 'va[v3]' may be used uninitialized in this function [-Wmaybe-uninitialized]
41 | v=va[v3];
| ~~~~~^
main.cpp:51:20: warning: 'vp[v4]' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 | v=vp[v4];
| ~~~~~^
main.cpp:14:18: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
14 | for(int i=1;i<=n;i++)
| ~^~~
main.cpp:50:15: warning: 'v4' may be used uninitialized in this function [-Wmaybe-uninitialized]
50 | 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
|