当前位置:网站首页>[detailed explanation of Huawei machine test] statistics of shooting competition results
[detailed explanation of Huawei machine test] statistics of shooting competition results
2022-07-06 05:21:00 【A less intelligent programmer】
【2022 Q1 Q2 | 100 branch 】
List of articles
Preface
《 Detailed explanation of Huawei's machine test questions Python Realization 》 The column includes Huawei column of niuke.com 、 Huawei test questions 、 Huawei OD Real problem of machine test .
If you are preparing for Huawei's interview , If you want to know something, you can send me a private letter , I will try my best to help you , I can also give you some suggestions !
This paper solves the non optimal solution ( Non optimal performance ).
Title Description
Given a shooting competition report card , Contains scores of several shots of multiple players , Please press the highest for each player 3 Sum of scores
Rank in descending order , Output the players ranked in descending order ID Sequence , The conditions are as follows :
- A player can have multiple shooting scores , And the order is not fixed
- If a player scores less than 3 individual , It is considered that all the results of the contestant are invalid , The ranking ignores the player
- If the sum of the players' scores is equal , Then the players with the same sum of results will be in accordance with their ID Descending order
Input description :
first line , An integer N, It means that the game has been played for a total of N Shots , produce N Scores (2<=N<=100)
The second line , A length of N Integer sequence of , Means the player participating in each shot ID(0<=ID<=99
边栏推荐
- Fiddler installed the certificate, or prompted that the certificate is invalid
- JS quick start (II)
- Sorting out the knowledge points of multicast and broadcasting
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- Codeforces Round #804 (Div. 2) Editorial(A-B)
- 05. 博客项目之安全
- Hyperledger Fabric2. Some basic concepts of X (1)
- 2022 half year summary
- Mongodb basic knowledge summary
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
猜你喜欢

Questions d'examen écrit classiques du pointeur

Yyds dry inventory SSH Remote Connection introduction

【torch】|torch.nn.utils.clip_grad_norm_

Lepton 无损压缩原理及性能分析

图数据库ONgDB Release v-1.0.3

Postman pre script - global variables and environment variables

毕业设计游戏商城

RT thread analysis log system RT_ Kprintf analysis

pix2pix:使用条件对抗网络的图像到图像转换

Vulhub vulnerability recurrence 68_ ThinkPHP
随机推荐
Compilation and connection of shader in games202 webgl (learn from)
Codeforces Round #804 (Div. 2) Editorial(A-B)
flutter 实现一个有加载动画的按钮(loadingButton)
Fiddler installed the certificate, or prompted that the certificate is invalid
Leetcode dynamic planning day 16
[QNX Hypervisor 2.2用户手册]6.3.3 使用共享内存(shmem)虚拟设备
Yolov5 tensorrt acceleration
Sliding window problem review
Force buckle 1189 Maximum number of "balloons"
Excel转换为Lua的配置文件
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
First acquaintance with CDN
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
In 2022, we must enter the big factory as soon as possible
Quelques conseils communs sur l'inspecteur de l'unit é, généralement pour les extensions d'éditeur ou d'autres
Configuration file converted from Excel to Lua
Hyperledger Fabric2. Some basic concepts of X (1)
Pickle and savez_ Compressed compressed volume comparison
jdbc使用call调用存储过程报错