2021 / Day7 - Can Part2 be done in a smart way?

2021.12.07 06:20 Let_Me_Be 2021 / Day7 - Can Part2 be done in a smart way?

So part1 can be easily done in O(nlogn). We sort the array of submarines O(nlogn), calculate the overall sum once O(n) and then scan left and right from the middle, at each element change we know by how much the cost changes on left and right (diffsize_left, diffsize_right) and we stop when the cost increases. Then simply return the minimum of the left and right scan.
However, with part2 I can't think of a solid way. One problem is that the optimum no longer lies within the listed values (because of the non-linear way the cost is calculated). Is there something I'm missing?
submitted by Let_Me_Be to adventofcode [link] [comments]


2021.12.07 06:20 carolinger [4K] Greycat ROC + ROC-DS Guide | Tutorial | Modular | up to 150k aUEC/h & more [English & Deutsch]

[4K] Greycat ROC + ROC-DS Guide | Tutorial | Modular | up to 150k aUEC/h & more [English & Deutsch] submitted by carolinger to starcitizen [link] [comments]


2021.12.07 06:20 Afraid-Meet3684 PureRuby87's Fansly is now live, here's her first publicly available post for followers

PureRuby87's Fansly is now live, here's her first publicly available post for followers submitted by Afraid-Meet3684 to Pureruby69 [link] [comments]


2021.12.07 06:20 Beautiful_Jello_2372 Any point to play WoT now?

I've played WoT since 2013, stopped after a year then came back last year. I played since Holiday Ops last year and I was enjoying the game until I started playing Dota again with my friends after the Waffentrager event.
I started up WoT again today and played some of my favourite tanks but the games were so fucking unbearable. In the 10 games I played, ALL of them were 15-5 stomps (played Tiers 6 - 9). Most of them started off with one of the flanks collapsing in seconds and I ended up with 8 defeats and 2 wins. The annoying part is that the two wins were the games wherein I was part of the flank that was charged and eradicated in seconds so I was bottom half for the wins while I was working my ass off at the top 3 spots when we lose.
I know that XVM is very controversial but I honestly think that playing without it is playing at a disadvantage since you might unknowingly find yourself holding a flank with a bunch of tomatoes shooting HEs. Vanilla WoT seems very unenjoyable.
With the upcoming bullshit tanks like the Tornvagn and the Caliban, is there honestly still a reason to play this shitty game? Is Holiday Ops even worth it anymore (The Arnold commander looks interesting though imo)? Is there anything to look forward to for the future (like balancing or smth) of World of Tanks or will 15-5 stomp games still be the norm if I play this again next year?
submitted by Beautiful_Jello_2372 to WorldofTanks [link] [comments]


2021.12.07 06:20 SzegedNewsBotka 2,8 millióért bérli az önkormányzat az új “jég”pályát, mely “elnézést, de nem fog olyan jól csúszni”

2,8 millióért bérli az önkormányzat az új “jég”pályát, mely “elnézést, de nem fog olyan jól csúszni” submitted by SzegedNewsBotka to hirok [link] [comments]


2021.12.07 06:20 SirLogander Mod suggestion for those doing a Survival run.

Hey guys, I have recently started a survival run on the hardest difficulty, however, I have noticed a lot of the new AE CC houses are extremely out of the way and are annoying to try and get back to to store loot. I heavily recommend the Translocate mod which adds the Mark and Recall spell from Morrowind to make the gameplay transition a little faster without blatantly adding back in fast travel. Makes the game much more bearable as I am a hoarder and want to take everything I can get my hands on which can be problematic if I have to traverse two mountain ranges to find my out of the way home. I'll link it for those interested.
Link: https://www.nexusmods.com/skyrimspecialedition/mods/11467?tab=description
submitted by SirLogander to skyrimmods [link] [comments]


2021.12.07 06:20 swagNextTuber Hawley says Biden administration cares more about 'gender issues' than national security

Hawley says Biden administration cares more about 'gender issues' than national security submitted by swagNextTuber to TrendingQuickTVnews [link] [comments]


2021.12.07 06:20 Twuzzie I need help!

I’m watching Organized Crime. I went to episode 5 and all of sudden they are talking about a whole different thing! Please explain what I’m missing
submitted by Twuzzie to LawAndOrder [link] [comments]


2021.12.07 06:20 swagNextTuber Jussie Smollett testimony: Actor says he received text from CNN's Don Lemon during police investigation

Jussie Smollett testimony: Actor says he received text from CNN's Don Lemon during police investigation submitted by swagNextTuber to TrendingQuickTVnews [link] [comments]


2021.12.07 06:20 Billiyam Does anyone know the name of this mockneck style?/where to cop?

Does anyone know the name of this mockneck style?/where to cop? submitted by Billiyam to menswear [link] [comments]


2021.12.07 06:20 Double-Extension7638 What is the best seven string with the most features for under $1000

submitted by Double-Extension7638 to guitars [link] [comments]


2021.12.07 06:20 chill_darling This video popped up in my recommended and holy shit yes this makes a lot of sense

This video popped up in my recommended and holy shit yes this makes a lot of sense submitted by chill_darling to libsofreddit [link] [comments]


2021.12.07 06:20 rinaho How strong is Rey Palpatine - Skywalker

without the power of all Jedi suddenly making her as strong as she needs to be (e.g. so strong she could deal even with the likes of Sidious)

View Poll
submitted by rinaho to PowerScaling [link] [comments]


2021.12.07 06:20 Bubbly-Cauliflower-8 7 ways predictive analytics can improve customer experience

Companies that get predictive analytics right can greatly improve their customer experiences and in turn leverage their data to offer a better CX and realize true customer lifetime value.

https://preview.redd.it/0jzo5qbw83481.jpg?width=900&format=pjpg&auto=webp&s=528b04c8763ed38e7ce455b77cb75967b756abb8
If you have, than you’ve already been welcomed into the world of predictive analytics.
Predicting Customer Needs The most basic, but perhaps the most important, type of analytics is predicting customer needs.
Here are the Tips to find 7 wondering ways for using predictive analytics for a better customer experience : https://www.groupfio.com/7-ways-to-use-predictive-analytics-to-improve-customer-experience/
submitted by Bubbly-Cauliflower-8 to MarketingAnalytics [link] [comments]


2021.12.07 06:20 swagNextTuber Why de Blasio’s heavy-handed vaccine mandate probably won’t last

Why de Blasio’s heavy-handed vaccine mandate probably won’t last submitted by swagNextTuber to TrendingQuickTVnews [link] [comments]


2021.12.07 06:20 Substantial_Bug_8140 Veronica omg...!

Veronica omg...! submitted by Substantial_Bug_8140 to OnlyUss [link] [comments]


2021.12.07 06:20 SymbauhHuint WAGMI ❤️ | Rich the Kid tweet | Soulja Boy incoming | Listed on CG and CMC 🔥 | 📢 Safemoon Tweeted About Us - Check Their Twitter And more !

WAGMI is more than a token, it’s a mantra uttered by frens, apes, and degenerates worldwide. It’s about manifesting your wildest crypto gains into reality. Buy tax — 10% redistribution Sell tax — 5% marketing — 5% development CG and CMC LISTED $ WAGMI $ WAGMI $ WAGMI $ WAGMI WE ARE ALL GONNA MAKE IT! Safemoon Tweeted about us: https://twitter.com/wagmierc/status/1461754302188310530 Coingecko: https://www.coingecko.com/en/coins/wagmi CMC: https://coinmarketcap.com/currencies/wagmierc/ Contract : 0xeA8FeF5d04c6AD8E9abaBE87bf71995eb6CEdf6d PancakeSwap : https://exchange.pancakeswap.finance/#/swap?outputCurrency=0xeA8FeF5d04c6AD8E9abaBE87bf71995eb6CEdf6d LP Locked : https://deeplock.io/lock/0xE2A0742Fab0553619A8004ac3b122A8488517C7B Ownership Renounced : https://bscscan.com/token/0xeA8FeF5d04c6AD8E9abaBE87bf71995eb6CEdf6d
submitted by SymbauhHuint to cryptostreetbets [link] [comments]


2021.12.07 06:20 GoinBack2Jakku A mischievous elf

A mischievous elf submitted by GoinBack2Jakku to drawing [link] [comments]


2021.12.07 06:20 SzegedNewsBotka Idéző: Fejérváry József újságíró írásait mutatják be a könyvtárban

Idéző: Fejérváry József újságíró írásait mutatják be a könyvtárban submitted by SzegedNewsBotka to hirok [link] [comments]


2021.12.07 06:20 jobsinanywhere Full schedule, squads, match timings, and live streaming details

submitted by jobsinanywhere to sportsnewstoday [link] [comments]


2021.12.07 06:20 DEADPOOL_5277 i need a plains biome surrounded by forest, dessert, badlands and sawana for 1.18. does anyone know such seed?

i need a plains biome surrounded by forest, dessert, badlands and sawana for 1.18. does anyone know such seed? submitted by DEADPOOL_5277 to minecraftseeds [link] [comments]


2021.12.07 06:20 whatsmynamema how to watch Premier league/champions league on a firestick?

I know absolutely nothing about the firestick or how things work, all I know is that I no longer want to pay £60-£70 a month to watch football when I don’t even use any of the other channels.
What is the best way to get guaranteed live prem & champions football?
I don’t really want to use any streaming sites as they’re unreliable, I’m willing to pay even if it’s £20-£30 a month I’ll still be saving a ton. Oh and preferably a legit place not one of those illegal ones, cheers
submitted by whatsmynamema to AskUK [link] [comments]


2021.12.07 06:20 LostNecessary3553 My life

My life submitted by LostNecessary3553 to meme [link] [comments]


2021.12.07 06:20 qwereqw Pretty maps for my mom in VR

Last year I got my mom a 3060 and an Index, this year she gets a wheel and pedals.
As much as I think she'll enjoy racing, I think she'll like driving around in cool cars in pretty locations as well (considering it's already below freezing around here).
Any suggestions for pretty/ cruising maps for AC, especially if I can host them on a server so my brothers and I can drive around with her. Suggestions for good sounding cars (she's in her 60's, her favorite car is a 69' Chevelle SS, for context) or even other games that would work in VR are appreciated. I don't think she'll be that interested in flat games, but we'll soon see.
Thanks y'all!
Happy holidays!
submitted by qwereqw to assettocorsa [link] [comments]


2021.12.07 06:20 Die-Spekulanten Die Spekulanten - Daimler Truck Holding AG Aktie - Spin-off

Heute stellen wir euch die Daimler Truck Aktie vor. Bei dem Unternehmen handelt es um einen der weltweit größten Hersteller von MDT- und HDT-Lkws, gemessen am Absatz (Quelle: IHS Markit). Daimler plant eine Aufspaltung des Konzerns, wodurch die eigenständige Daimler Truck Aktie entstehen soll. Die Lkw-Produktion wird künftig selbständig agieren und unter dem Namen Daimler Truck geleitet.
https://diespekulanten.de/spekulative-aktien-daimler-truck-aktie/
submitted by Die-Spekulanten to diespekulanten [link] [comments]


http://otel-arena.ru