0.前言
这道题连我这种蒟蒻都可以AC,那就是真的水。
1.正文
总分=50+a+b+c+d+e+f+g,如果是A类,还要再加上5分。
最后判断即可。
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int sum = 50;
int t1, t2, t3, t4, t5, t6, t7, t8, t9;
cin >> t1 >> t2 >> t3 >> t4 >> t5 >> t6 >> t7 >> t8 >> t9;
sum = sum + t1 + t2 + t3 + t4 + t5 + t6 + t7;
if (t8 == 1)
sum += 5;
if (sum >= t9)
cout << "AKIOI" << endl;
else
cout << "AFO" << endl;
return 0;
}