0分求助大佬(我太菜了
  • 板块学术版
  • 楼主qinyihao
  • 当前回复3
  • 已保存回复3
  • 发布时间2020/10/6 21:50
  • 上次更新2023/11/5 11:46:02
查看原帖
0分求助大佬(我太菜了
348831
qinyihao楼主2020/10/6 21:50
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
int main()
{
    ull whether,D1T1,D1T2,D1T3,D2T1,D2T2,D2T3,bishi,temp,enter;
    cin >> bishi >> D1T1 >> D1T2 >> D1T3 >> D2T1 >> D2T2 >> D2T3 >> whether >> enter;
    temp = D1T1+D1T2+D1T3+D2T1+D2T2+D2T3+bishi;
    if (whether == 1)
    {
        temp = temp + 5;
    }
    if (temp >= enter)
    {
        cout << "AKIOI";
    }
    if (temp < enter)
    {
        cout << "AFO";
    }
    return 0;
}

评测结果: 感谢大佬!

2020/10/6 21:50
加载中...