en
Feedback

Don't get caught by a cheater! Telemetrio finds and tags such channels 👉 If you want to see the tag, subscribe

Coding Solutions Group

Coding Solutions Group

Open in Telegram

Show more
IndiaThe category is not specified
2 051
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
n = int(input()) m = int(input()) typelst = [] for i in range(n): typelst.append(int(input())) timelst = [] for i in range(n): timelst.append(int(input())) lst1 = [] lst2 = [] lst3 = [] for i in range(n): if typelst[i] == 1: lst1.append(timelst[i]) elif typelst[i] == 2: lst2.append(timelst[i]) elif typelst[i] == 3: lst3.append(timelst[i]) lst1.sort() lst2.sort() lst3.sort() for i in range(1,len(lst1)): lst1[i] += lst1[i-1] for i in range(1,len(lst2)): lst2[i] += lst2[i-1] for i in range(1,len(lst3)): lst3[i] += lst3[i-1] ans = math.inf try: ans = lst1[m-1] + lst2[m-1] except: pass for i in range(m): if i < len(lst3): if i==m-1: try: val = lst3[i] if val < ans: ans = val except: pass try: indx = m-i-2 val = lst3[i] + lst2[indx] + lst1[indx] if val < ans: ans = val except: pass if ans==math.inf: print(-1) else: print(ans) Adventure question
09 May 2021, 06:07

INFOSYS INTERVIEW PREPARATION TIPS Subscribe our YouTube channel ❤️ https://youtube.com/shorts/59TCZBbfUiI?feature=share
10 Jan 2022, 01:09

??
03 Apr 2021, 03:46

Hi Aditi Welcome to this Community, Subscribe Our YouTube Channel📣 for Daily Jobs Updates and Study Material
14 Apr 2021, 06:40

1.Newspaper 2.Game on a gride 3.Find the axial parallel rectangle
07 May 2021, 01:30

08 Aug 2021, 02:07

Hey, how were you notified about Cognizant. Was it a campus placement?
20 Dec 2020, 13:22

Hi Pooja , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅ 👇👇 @offcampusjobs_0 @offcampusjobs_0
01 Apr 2021, 13:41

.. [735803864] is sending a spam message. Action: Warn (2/3) ❕
03 Apr 2021, 03:28

12 Jan 2022, 04:44

Hi 3.141592653589793238 , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅ 👇👇 @offcampusjobs_0 @offcampusjobs_0
31 Mar 2021, 06:53

All codes available paidd
30 Sep 2022, 09:12

Either [2059776842] is sending a spam message. Action: Warn (1/3) ❕
17 Oct 2021, 05:58

Hi Raja Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️ 👇👇 @offcampusjobs_0 @offcampusjobs_0
05 Apr 2022, 00:35

Tcs nqt help available
24 Dec 2021, 10:01

So the number of candidates solving questions are alot
05 May 2021, 11:50

/startsendingpython
03 Apr 2021, 03:31

25 Dec 2021, 07:15

02 Apr 2021, 23:54

🔥Guys plz Stop fearing for daily exams 📝 👨‍💻 @king is here to help you all at  possible.💪 🔥Chances of getting qualified = 110% gurantee 🤝 🔥Effort from our side = 💯 📱Main Channel: 💯 persent guarantee OA help exam 📱Tel I'd : @king https://t.me/OAhelp111 https://t.me/coding111solution   https://t.me/jobupdates1111 https://t.me/codeforces111 https://t.me/faang111helpexam https://t.me/competitive111coding https://t.me/mncSolution https://t.me/Placementcoders1 https://t.me/placement111 Hey guy's whenever you've any OA send questions here it will help all of us❤️. ✅All solutions ✅Join with us to learn more ✅Find all the solutions here ✅Clear your doubts with experts ✅  MEDIA.NET , MICROSOFT , ACCENTURE, HCL TECH , TECH MAHINDRA ,UBER, ZOMATO, Wipro,TCS , Flipkart , oracle,Capgemini,Cognizant,IBM, Intel,dxc technology,Adobe,Cisco, Google,,Deloitte, Amazon,or all ANY ON/OFF Campus Exams help available  ✅ Helped More than 200+ students to crack coding round in 2024 and helped placed them in Good companies. 🥳🥳🥳🤩🤩🤩 🔥Note: its  help🤝 ✅💯 Clearance and genuine help🙌 ✅Scroll up and check all pinned proofs 😎💯 ✅Remote access also available 🥰 🥰🔥🔥🔥we are also offering our services for freelancing projects, college projects (End to End projects) and placement  OA support . If any one interested , reach out to us 🤝 . Group link  share ❤️👍 . https://chat.whatsapp.com/DPp6VRmAT2HIODofXWORA0 🔥🔥🔥✅💯
04 Sep 2023, 22:47