当前位置:网站首页>[daily question in summer] Luogu p6850 Noi
[daily question in summer] Luogu p6850 Noi
2022-07-25 01:21:00 【AC_ Dragon】
Topic link :P6850 NOI - Luogu | New ecology of computer science education (luogu.com.cn)
Background
Small L It's a vegetable chicken .
Nothing small L Yes NOI examination room .
Title Description
Because of the small L Don't count , Now small L Told you his score and team line for each question , Please tell him whether to join the team .
NOI The score is calculated as :
1. The basis of written examination is 50 branch , Add 1 branch .
2. The actual score is the score of each question plus the score of the written examination .
3. If it is A class , The total score is added on this basis 5 branch .
Input format
Input 9 Number a,b,c,d,e,f,g,h,i, It respectively represents the number of questions passed in the written examination , D1T1,D1T2,D1T3,D2T1,D2T2,D2T3 score , whether A class ( yes 1, No 0), The score line of the training team .
Output format
Output a string one line .
If you join the training team , The output AKIOI.
If not , Output AFO.
Examples #1
The sample input #1
50 50 72 56 100 40 0 1 446Sample output #1
AFOExamples #2
The sample input #2
50 95 100 64 100 72 30 0 446Sample output #2
AKIOITips
「 Sample explanation 」
The first example is the retired chicken L Of NOI2020 achievement .
The second one is from a certain player NOI2020 achievement .
Didn't you explain anything
「 Data scope and description 」
This question adopts the bundling test . Only through one Subtask In order to get this Subtask The scores of .
- Subtask 1(30 points):h = 0,a = 50,i = 700;
- Subtask 2(30 points):h = 0,a = 50;
- Subtask 3(40 points): No special restrictions .
For all the data ,0 <= a <= 50,0 <= b,c,d,e,f,g <= 100,0 <= h <= 1,205 <= i <= 705.
No consideration is given here to section 50 The situation of the same name , It can be considered that if the same score is small L first .
There is no guarantee that the test data is true .
AC code:
#include<iostream>
using namespace std;
int main()
{
int a1,a2,a3,a4,a5,a6,a7,a8,a9;
cin>>a1>>a2>>a3>>a4>>a5>>a6>>a7>>a8>>a9;
if(50+a1+a2+a3+a4+a5+a6+a7+a8*5 >= a9)
cout<<"AKIOI";
else
cout<<"AFO";
return 0;
}边栏推荐
- How to implement the server anti blackmail virus system is a problem we have to consider
- Example analysis of enum data type in MySQL
- Visual studio code installation package download slow & Installation & environment configuration & new one-stop explanation
- The most complete summary of MySQL data types in history - (first)
- Detailed explanation of zero length array in C language (1) [information at the end of the article]
- Redis transaction learning
- asp rs.open sql,conn,3,1中3,1代表什么?
- How SAP Spartacus redefines login component
- Divide 300000 bonus! Deeperec CTR model performance optimization Tianchi challenge is coming
- 7.15 - daily question - 408
猜你喜欢

Free personal virtual machine - AWS free EC2 package
![[development tutorial 10] crazy shell · open source Bluetooth smart health watch OTA image production and download technical documents](/img/97/c4ef281ca14eb68c8a14f18e03c3dd.png)
[development tutorial 10] crazy shell · open source Bluetooth smart health watch OTA image production and download technical documents
![Yolov7:oserror: [winerror 1455] the page file is too small to complete the final solution of the operation](/img/e1/51f750d355b248ab84e10f0e134271.png)
Yolov7:oserror: [winerror 1455] the page file is too small to complete the final solution of the operation

MySQL Basics (concepts, common instructions)

Human cell prosci 4-1BB ligand recombinant protein scheme

DotNetCore. Cap notes

Custom type

Pytorch structure reparameterization repvggblock

This visual is not connected to the presentationsource.

Construction of Seata multilingual system
随机推荐
第四章 驱动子系统开发
How SAP Spartacus redefines login component
[27. Expression evaluation (infix expression)]
G025-db-gs-ins-02 openeuler deployment opengauss (1 active and 1 standby)
Target segmentation for 10000 frames of video, less than 1.4GB of video memory, open source code | ECCV 2022
7.19 - daily question - 408
How to obtain workers' coats and helmets in stray? How to obtain workers' helmets
Redis 事务学习有感
Summary of MATLAB basic grammar
How to empty localstorage before closing a page
Opengauss kernel analysis: query rewriting
Construction of Seata multilingual system
Luo min cannot become Dong Yuhui
This visual is not connected to the presentationsource.
Google Earth engine - 1980 present global pressure, temperature, wind and other data sets
Tiktok iqiyi announced cooperation, long and short video handshake and reconciliation?
Chip sold at sand price: Lei Jun's dream was "ruined" by this company
Pytorch structure reparameterization repvggblock
Game partner topic: the cooperation between breederdao and monkeyleague kicked off
Method properties of ASP adodb.stream object