2 051
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
Hi Kummara Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi jeevan Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
For any company non coding aptitude assistance please reach out even Hexaware and Deloitte
Hi Rahul , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
import sys
try:
t = int(input())
virus_length = int(input())
virus_rna = input()
vaccines = []
vaccines_length = []
reactions = []
virus_g = virus_rna.count('G')
virus_c = virus_rna.count('C')
for _ in range(t):
vaccine_length = int(input())
vaccine_rna = input()
vaccine_g, vaccine_c = vaccine_rna.count('G'),vaccine_rna.count('C')
reaction = vaccine_c*virus_g + vaccine_g * virus_c
vaccines.append(vaccine_rna)
vaccines_length.append(vaccine_length)
reactions.append(reaction)
highest_reactive = max(reactions)
final_vaccine = vaccines[reactions.index(highest_reactive)]
if( reactions.count(highest_reactive) >1):
for i in range(len(reactions)):
if(reactions[i] == highest_reactive):
if(len(final_vaccine) > vaccines_length[i]):
final_vaccine = vaccines[i]
print(vaccines.index(final_vaccine)+1)
except:
print("Error :", sys.exc_info()[1])
Vaccination code
Hi Rohan Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Tahseen , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
👨🏼💻•PROGRAMMING
📱•HACKING
🔮•TECHNOLOGY
Backup : @TC_backup
Channel : @Technical_character_channel ( free course )
Group 1 : @Technical_character_group
Any Query : @TC_discuss_bot
Bot : @technical_character_bot
Hi sharanya , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
