Love丶FFC's Blog
在浙大的计算机专业课中,经常有互评分组报告这个环节。一个组上台介绍自己的工作,其他组在台下为其表现评分。最后这个组的互评成绩是这样计算的:所有其他组的评分中,去掉一个最高分和一个最低分,剩下的分数取平均分记为 G1;老师给这个组的评分记为 G2。该组得分为 (G1+G2)/2,最后结果四舍五入后保留整数分。本题就要求你写个程序帮助老师计算每个组的互评成绩。
输入第一行给出两个正整数 N(> 3)和 M,分别是分组数和满分,均不超过 100。随后 N 行,每行给出该组得到的 N 个分数(均保证为整型范围内的整数),其中第 1 个是老师给出的评分,后面 N−1 个是其他组给的评分。合法的输入应该是 [0,M] 区间内的整数,若不在合法区间内,则该分数须被忽略。题目保证老师的评分都是合法的,并且每个组至少会有 3 个来自同学的合法评分。
为每个组输出其最终得分。每个得分占一行。
6 50
42 49 49 35 38 41
36 51 50 28 -1 30
40 36 41 33 47 49
30 250 -25 27 45 31
48 0 0 50 50 1234
43 41 36 29 42 29
42
33
41
31
37
39
1.只保留合法分数
2.去除一个最高分、最低分
3.四舍五入判断
NOG, FullPoint = map(int, input().split()) # 输入组数、满分 Score = list() # 记录一行输入的分数 for i in range(NOG): Score = list(map(int, input().split())) # 输入一行的分数 G1 = Score[0] Score.pop(0) # 将老师所给的分数删除,只留下其他组所给的分数 GroupScore = list() # 存放其他组所给的合法的分数 for j in range(len(Score)): if 0 <= Score[j] <= FullPoint: # 该分数合法 GroupScore.append(Score[j]) GroupScore.remove(max(GroupScore)) # 去除一个最高分 GroupScore.remove(min(GroupScore)) # 去除一个最低分 G2 = sum(GroupScore) / len(GroupScore) if (G1 + G2) / 2 - int((G1 + G2) / 2) >= 0.5: # 入 print(int((G1 + G2) / 2) + 1) else: # 舍 print(int((G1 + G2) / 2))
Jorcift
Kao YC, Zhou C, Sherman M, Laughton CA, Chen S is lisinopril like viagra
cheap louis vuitton online
I just wanted to thank you for the fast service. to they look great. I received them a day earlier than expected. which includes I will definitely continue to buy from this site. you decide I will recommend this site to my friends. Thanks!
cheap louis vuitton online https://www.bestlouisvuittonoutlet.com/
authentic louis vuitton outlet
I just wanted to thank you for the fast service. otherwise they look great. I received them a day earlier than expected. as good as the I will definitely continue to buy from this site. you ultimately choose I will recommend this site to my friends. Thanks!
authentic louis vuitton outlet https://www.cheapreallouisvuitton.com/
cheap jordans online
I just wanted to thank you for the fast service. nor they look great. I received them a day earlier than expected. choose the I will definitely continue to buy from this site. blue jays I will recommend this site to my friends. Thanks!
cheap jordans online https://www.realcheapretrojordanshoes.com/
cheap retro jordans
I just wanted to thank you for the fast service. or alternatively they look great. I received them a day earlier than expected. since the I will definitely continue to buy from this site. you ultimately choose I will recommend this site to my friends. Thanks!
cheap retro jordans https://www.realjordansretro.com/
cheap jordans
Read reviews and was a little hesitant since I had already inputted my order. or maybe a but thank god, I had no issues. which include the received item in a timely matter, they are in new condition. in any event so happy I made the purchase. Will be definitely be purchasing again.
cheap jordans https://www.cheapauthenticjordans.com/
cheap real jordans
Read reviews and was a little hesitant since I had already inputted my order. perhaps but thank god, I had no issues. much like the received item in a timely matter, they are in new condition. manner in which so happy I made the purchase. Will be definitely be purchasing again.
cheap real jordans https://www.realjordansshoes.com/
cheap louis vuitton
Read reviews and was a little hesitant since I had already inputted my order. and but thank god, I had no issues. since the received item in a timely matter, they are in new condition. you decide so happy I made the purchase. Will be definitely be purchasing again.
cheap louis vuitton https://www.cheaplouisvuittonsale.com/
cheap louis vuitton
Read reviews and was a little hesitant since I had already inputted my order. to but thank god, I had no issues. which includes the received item in a timely matter, they are in new condition. no matter what so happy I made the purchase. Will be definitely be purchasing again.
cheap louis vuitton https://www.louisvuittonsoutletonline.com/
intuido
Optimally you would start making love every 1- 2 days starting on 01 11 2018 finpecia fast delivery overnight
intuido
buy priligy 60 mg 11 Although the MAPK, NF ОєB, and AKT signaling pathways all contribute to the development of cardiac hypertrophy, the role of TRAF3 in the heart, particularly in response to stress, remains elusive
cheap louboutin heels
|Wear darker blouses and pants if you want to appear slimmer. Dark colors help emphasize your good parts and tone down the overweight extras you don’t want people to notice. You should wear skirts with elastic waistbands if you are concerned about comfort.
https://maps.google.co.jp/url?q=https://www.topchristianlouboutinoutlet.com/
|Don’t buy something simply because of a great price. No matter how much of a steal it is money wise, if it looks bad on you, don’t buy it. It will simply be a loss of space and money.
CurtisHed
purchase antabuse
IvyLit
rx clindamycin gel
SueLit
clomid canada over the counter
JoeLit
prazosin 2mg
AshLit
strattera 40 mg
CLCGHlb
42, total mortality RR 1 can you buy priligy online
JosephKip
paroxetine 30 mg cost
IvyLit
effexor 200 mg
SueLit
vermox drug
Zuudwt
order tricor online cheap fenofibrate brand purchase fenofibrate online
Elwoodexcix
cymbalta costs canada
Michaelsmopy
tretinoin 0.025 gel price
Michaelsmopy
azithromycin mexico pharmacy
Davidevelf
buy lipitor cheap
AlanLit
phenergan rx
SamuelEcors
tretinoin 0.05 cream price comparison
SamLit
tenormin medication
CurtisHed
how to buy retin a online
Richardatone
cymbalta price south africa
AlanLit
retin a 0.5 cream
SamLit
robaxin coupon
MaryLit
triamterene brand name
MaryLit
atarax 150 mg
Davidevelf
lipitor 20mg price australia
SamuelEcors
atarax 25mg prescription
ZakLit
atarax over the counter uk
AlanLit
lipitor 10mg tablet price
JosephKip
atarax tablets
AshLit
online pharmacy china
Elwoodexcix
buy atarax
SamuelEcors
baclofen 5 mg price
EyeLit
canadian pharmacy uk delivery
AshLit
120 mg strattera
Elwoodexcix
triamterene-hctz 37.5-25 mg tb
MaryLit
robaxin medicine
SueLit
triamterene hctz 37.5 25 mg
Richardatone
robaxin prescription medication
ZakLit
nolvadex india online
MaryLit
phenergan uk otc
Williamjotly
dexamethasone 0.1 cream
Elwoodexcix
purchase retin a without prescription
IvyLit
canada cloud pharmacy
AlanLit
prednisolone price uk
SamuelEcors
levaquin.com
Williamjotly
triamterene-hctz 75-50mg tab
SamLit
levaquin without prescription
IvyLit
levaquin antibiotics
MaryLit
azithromycin canada price
SamLit
levaquin cipro
ZakLit
average price of generic cymbalta
AshLit
levaquin drug
EyeLit
prazosin hydrochloride
Michaelsmopy
triamterene capsule
Michaelsmopy
cymbalta duloxetine hydrochloride
DavisIgnip
buy cheap nolvadex
SamuelEcors
triamterene medication
MaryLit
triamterene drug
DarrylBox
azithromycin online
MaryLit
atarax 50 mg cost
IvyLit
where to purchase zithromax
Elwoodexcix
medical mall pharmacy
DarrylBox
prazosin tablet 0.5mg
SamuelEcors
tenormin online
IvyLit
baclofen 10 mg tablet online
DavisIgnip
global pharmacy
AshLit
acticin tablet
JoeLit
cymbalta brand name cost
CurtisHed
tretinoin cream buy canada
DavisIgnip
prazosin tablets 0.5 mg
MaryLit
metformin capsule
Richardatone
order lipitor online
JackLit
prednisolone 25 mg australia price
SamuelEcors
levaquin without prescription
JosephKip
baclofen 4097
JackLit
atenolol 100mg price
EyeLit
hydroxyzine atarax
AshLit
citalopram oral
IvyLit
triamterene hctz 37.5 25 mg cp
JosephKip
atarax prescription uk
SueLit
baclofen over the counter canada
DarrylBox
pharmacy com canada
SamuelEcors
prices for triamterene 37.5
SamuelEcors
triamterene/hctz caps
MaryLit
cymbalta brand name cost
Rtgcgx
buy tadalafil 20mg sale us pharmacy viagra oral sildenafil 50mg
SamLit
lipitor tabs
SueLit
triamterene-hctz 75-50mg tab
CurtisHed
pharmacy without prescription
ZakLit
prazosin bph
Davidevelf
baclofen 420 mg
MaryLit
levaquin tablets
JackLit
cost of brand synthroid
JoeLit
voltaren gel mexico pharmacy
AshLit
plavix tablet price in india
AlanLit
phenergan medicine
JoeLit
amoxicillin 400mg cost
AlanLit
80 mg prednisone daily
Williamjotly
can i buy azithromycin over the counter
MaryLit
online pharmacy quick delivery
AshLit
can i buy amoxicillin over the counter in australia
SueLit
celebrex price australia
JosephKip
combivent 100 mcg 20 mcg
EyeLit
synthroid generic canada
Richardatone
550 diclofenac
ZakLit
bactrim coupon
DarrylBox
synthroid generic prices
SueLit
doxycycline tablets in india
DarrylBox
inderal la 80 mg
Williamjotly
buying prednisone online
Pjflve
zaditor 1 mg canada order ziprasidone 80mg generic tofranil 25mg pills
SamLit
online pharmacy same day delivery
SamuelEcors
synthroid best price
SamuelEcors
diclofenac gel price
JackLit
augmentin tab 875 mg
SueLit
cheap lisinopril no prescription
MaryLit
where can i get propranolol
ZakLit
cost less pharmacy
AshLit
innopran xl price
Trwmog
order minoxytop online best ed pill buy ed pills
ZakLit
suhagra 50 tablet price
MaryLit
buy synthroid online canada
Williamjotly
buy fluconizole online
MaryLit
inderal australia
SueLit
purchase prednisone online
AshLit
purchase accutane
Michaelsmopy
augmentin canadian pharmacy
IvyLit
cost of accutane canada
DavisIgnip
amoxicillin 800
Williamjotly
keflex prescription price
DarrylBox
retino 0.025 cream
AshLit
retino 0.025 gel
AshLit
bactrim brand name
Elwoodexcix
diflucan australia
DarrylBox
diflucan 50mg
JoeLit
prednisone pills
DarrylBox
retino 0.5 cream price
IvyLit
where to buy prednisone without prescription
Williamjotly
cephalexin 750 mg capsule
EyeLit
combivent cheap
JosephKip
voltaren otc
Williamjotly
hydroxychloroquine sulfate oval pill
IvyLit
retino 0.05
JackLit
azithromycin 500mg pills
Elwoodexcix
ventolin without prescription
ZakLit
can i buy propecia over the counter uk
EyeLit
120mg accutane
CurtisHed
tizanidine 4 mg tablet
AshLit
online pharmacy store
Elwoodexcix
lisinopril india
DarrylBox
albuterol from canada no prescription
ZakLit
lisinopril 3.125
IvyLit
50 mg phenergan
SamuelEcors
ventolin prescription discount
Ogqrjj
precose 50mg pills order fulvicin online order fulvicin 250 mg sale
SamuelEcors
retino cream price