nord vpnnord vpn
Ad

Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
653 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
    int c, x;
    cin >> c >> x;
    if (x == 0)
    {
        cout << "0";
        return 0;
    }
    if (x < (c * 0.105) && x > 0)
    {
        cout << "1";
        return 0;
    }
    if (x < (c * 0.505) && x => (c * 0.105))
    {
        cout << "2";
        return 0;
    }
    if (x < (c * 0.705) && x => (c * 0.505))
    {
        cout << "3";
        return 0;
    }
    if (x < (c * 0.845) && x => (c * 0.705))
    {
        cout << "4";
        return 0;
    }
    if (x <= c && x => (c * 0.845))
    {
        cout << "5";
        return 0;
    }
}

nord vpnnord vpn
Ad