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: 1
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: 4116
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: 1355
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!!!!
ASRock Z390 Phantom Gaming 6
Core i7 9600kf 5Ghz @ 1.28v With Alphacool Eisblock XPX Aurora Edge
Gigabyte RTX 2070 2010Mhz @ 0.963v With Watercool Heatkiller IV
16Gb Corsair Vengeance LED 3000Mhz 16-18-18-36-1T
Aqua Computer Ultitube 200 Pro D5 Next
Magicool G2 Slim 2x240mm & EK Coolstream SE 360mm
Silicon Power P32A80 128Gb & WD Blue M.2 2Tb
Corsair HX1000i
LG Ultragear 24MP59G-P
Windows 10 64 bit Pro
1st Player Steam Punk SP8
Corsair K70 Mk2, M65 Elite and Void Elite USB

User avatar
camaroguy1998
Legit Extremist
Legit Extremist
Posts: 1660
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 AIO Cooler
Corsair CX750F RGB PSU - Samsung 840 EVO 500GB SSD
ASUS BW-12B1ST BD Burners(X2)
EVGA 560ti SC
ACER 24" LED LCD monitor

ANTEC 900 case in Chartreuse NEON paint

Post Reply