1 条题解

  • 0
    @ 2024-1-25 16:48:20
    #include <iostream>
    using namespace std;
    int main()
    {
    int k;
    cin>>k;
    int shu=0;
    for (int x=1;x<100;x++)
    {
    for (int y = 1; y < 100; y++)
    {
    if (4 * x + 3 * y > k)
    {
    shu++;
    }
    }
    }
    cout<<shu<< endl;
    return 0;
    }
    
    • 1

    信息

    ID
    42
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    递交数
    206
    已通过
    84
    上传者