#27350: ++++


a1122331313 (a1122331313)

學校 : 不指定學校
編號 : 115221
來源 : [61.61.86.235]
最後登入時間 :
2024-03-23 16:28:47
d566. 秒殺率 -- jack1 | From: [61.61.86.235] | 發表日期 : 2021-09-25 17:45

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int a;
    string bc;
    cin >> a;
    cin >> b >> c;
    if (a == 30)
    {
        cout << "75%" << endl;
    }
    else if (a > 9999 && c != "AC")
    {
        cout << "30%" << endl;
    }
    else if (a < 1000)
    {
        cout << "0%" << endl;
    }
    else
    {
        cout << "100%" << endl;
    }

    return 0;
}
 
ZeroJudge Forum