minimizing the maximum hundai by replacing it with bmw

A place to rant about politics, life, or just anything you damn well feel like telling others.
Post Reply
adnanhrphrp
Legit Little One
Legit Little One
Posts: 2
Joined: Tue Sep 01, 2020 8:42 am

minimizing the maximum hundai by replacing it with bmw

Post by adnanhrphrp » Tue Sep 01, 2020 8:54 am

we have given two arrays H[ ] and B[ ] both of size n. H denotes number of hundai car the (i)th person have. I have 'm' BMW car,which I can replace with hundai. B contain number of hundai car equivalent to 1 BMW(means for each person the equivalency may differ). Given: hireacar.pk/rent-a-car-islamabadcardetailings.pk/car-detailing-islamabad

H%B=0;
The question is to minimize the max(H) by replacing it with BMW(note that we have only m BMW). O(n) or O(nlogn) solution required.

User avatar
KnightRid
Moderator
Moderator
Posts: 4031
Joined: Wed Dec 14, 2005 5:21 am
Location: Dallastown, PA

Re: minimizing the maximum hundai by replacing it with bmw

Post by KnightRid » Wed Sep 02, 2020 3:20 am

Spam like this is why I get to laugh. Not deleting it either cause everyone needs to say....WTF???? :rolleyes:
Cigar Blog I review for - http://www.stogiereview.com

Remember, I am opinionated and nothing I say or do reflects on anyone or anything else but me :finga:

User avatar
DJ Tucker
Legit Extremist
Legit Extremist
Posts: 1281
Joined: Tue Dec 30, 2008 11:52 am
Location: Hardbase Headquaters
Contact:

Re: minimizing the maximum hundai by replacing it with bmw

Post by DJ Tucker » Wed Sep 02, 2020 5:53 am

WTF!!!!
9600kf 4.8ghz (1.2v)|Z390 Asrock Phantom Gaming 6|16gb DDR4 Corsair Vengeance 2666mhz|RTX 2070 1995mhz (0.950v)|Corsair HX1000i|128gb Silicon Power NVME (OS)|2tb WD Blue M.2 SSD (Games)|Aqua Computer D5 Next Pump|Alphacool Eisblock XPX Aurora CPU Block|Watercool Heatkiller IV GPU Block|360+240mm Radiators|Vector VDM01

User avatar
camaroguy1998
Legit Extremist
Legit Extremist
Posts: 1561
Joined: Sun Jan 07, 2007 5:24 pm
Location: St. Charles, Mo.

Re: minimizing the maximum hundai by replacing it with bmw

Post by camaroguy1998 » Wed Sep 02, 2020 9:55 pm

You dont get this?
Hyundai is > than BMW :shock:
:lol: :lol: :lol: :lol: :lol: :lol:
:SMH:



Ok....WTF!!!!
ASUS Crosshair V- Formula Z - AMD 9590H2O
16G GSkill RipJaw - CoolerMaster Seidon cooler
Corsair RM750X - Samsung 840 EVO 500GB SSD
ASUS BW-12B1ST BD Burners(X2)
EVGA 560ti SC
ASUS 27" LED LCD monitor
Corsair 600T case

Post Reply