26th Jun 2020, 7:22 PM
Tanush Bhattacharya
Tanush Bhattacharya - avatar
3 ответов
+ 1
Works
26th Jun 2020, 8:18 PM
Tanush Bhattacharya
Tanush Bhattacharya - avatar
+ 1
inpt = input() if inpt[0] == "Z": print (100) elif inpt[0] == "C" and inpt[1] == "h" and inpt[2] == "a": print (40) else: print (20) #tricked sololearn
10th Aug 2020, 5:38 PM
Sayed Ajmal Hashimi
Sayed Ajmal Hashimi - avatar
0
myname = input() num_agents = int(input()) other_names = list(input().split()) other_names.append(myname) other_names.sort() ind_myname = other_names.index(myname)+1 print('20' if ind_myname <=num_agents else (ind_myname-num_agents)*20+20)
25th Nov 2021, 10:31 PM
Mas'ud Saleh
Mas'ud Saleh - avatar