Yo`nalishlar
Hozirda online

Statistika

Masalalar soni: 893

Foydalanuvchilar soni: 6661

Jo'natishlar soni: 548884

Muhokama yozuvlari: 3250

Yangiliklar soni: 92

Yangiliklar izohlari: 1090


So'ngi izohlar

  1. 1. Fazliddin Abduraxmonov, , #006. G'o'la

    #include <iostream>
    #include <iomanip>
    #include <cmath>
    using namespace std;

    int main()
    {   int a,b,h;
    float l,s;
        cin>>a>>b>>h;
        double r=a/2.0;
        double R=b/2.0;
        l=sqrt((R-r)*(R-r)+h*h);
        s=3.1415926535*(r*r+R*R+l*(R+r));
        cout <<setprecision(2)<<fixed<<s;
        return 0;
    }

  2. 2. jonibek po'latov, , #103. Massiv3

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    { int k,l,s=0,p=0;
    cin>>n;
    int a[n];
    for (int i=1; i<=n; i++ )
    {
       cin>>a[i];
    }
    cin>>k>>l;
    for (int i=k; i<=l; i++ )
    {s+=a[i]; }
    p=l-k+1;
    printf("%.1f",1.*s/p);
    return 0;
    }

  3. 3. jonibek po'latov, , #314. Yakuniy_2_E

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {int n,a,b;
    cin>>n>>a>>b;
    for (int x=1; x<=n; x++)
    {double s+=pow(a*x+b,2);}
    cout<<s;
    return 0;
    }

  4. 4. jonibek po'latov, , #313. Yakuniy_2_D

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    int a,b,c;
    if (a>0 && b>0 && c>0)
    cout<<a+b+c;
    else cout<<a*b*c;
    return 0;
    }

  5. 5. jonibek po'latov, , #312. Yakuniy_2_C

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    { int a,b;
    if (a>b) cout<<a*b<<" "<<a+b;
    else cout<<a+b<<" "<<a*b;
    return 0;
    }

  6. 6. jonibek po'latov, , #311. Yakuniy_2_B

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    int x,a; double s;
    cin>>x>>a;
    s=pow(x,4/3.0)+x*sin(x)*a;
    cout<<setprecision(2)<<fixed<<s;
    return 0;
    }

  7. 7. jonibek po'latov, , #310. Yakuniy_2_A

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {int n,x; double s=0;
    cin>>n>>x;
    for (int i=1; i<=n; i++)
    {s+=i*1.0/pow(x,i);}
    cout<<setprecision(2)<<fixed<<s;
    return 0;

  8. 8. jonibek po'latov, , #309. Yakuniy_1_J

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    { int n,x,y;
    cin>>n>>x>>y;
    for (int i=1; i<=n; i++)
    { s+=log(pow(y,2*i-1))/log(x)*1.0/pow(2,n);}
    cout<<setprecision(2)<<fixed<<s;
    return 0;
    }

  9. 9. M...M , , #033. Tarmoqlanuvchi3

    Math.max(Math.max(x + y + z, x), Math.max(y, z)),
                    Math.pow(Math.min(Math.min(x + y / 2, x), Math.min(y, z)), 2)

  10. 10. Akbar Abdullayev, , #063. Sikl3

    //hato qani???????????
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
    double n,q=1,s=0;
    cin>>n;
    for (int i=1,j=0;i<n || j<n-1;i++,j=j+2)
    {
    q=q*(j+2)*(j+3);
    s=s+pow(-1,i)*pow(q,-1);
    }
    cout.precision(4);
    cout<<fixed<<s+1;
    return 0;
    }

Muhokamada qatnashish uchun dastlab tizimga kiring yoki ro`yxatdan o`ting!