mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-24 03:48:47 +00:00
P6850 NOI
R39590203
This commit is contained in:
parent
dae34e06c0
commit
5fda59af39
17
problem/P6850/P6850.cpp
Normal file
17
problem/P6850/P6850.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
// R39590203
|
||||
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b, c, d, f, e, g, h, i;
|
||||
cin >> a >> b >> c >> d >> e >> f >> g >> h >> i;
|
||||
if ((h && 50 + a + b + c + d + e + f + g + 5 >= i) || (50 + a + b + c + d + e + f + g >= i)) {
|
||||
cout << "AKIOI" << endl;
|
||||
}
|
||||
else {
|
||||
cout << "AFO" << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user