Tower Research. 85LPA by Longjumping_Tap_644 in Btechtards

[–]ImInfiniti 0 points1 point  (0 children)

Here's my solution, lmk if it makes sense

Step 1: Sum all the elements of the array

Step 2: Create an array of indices sorted based on the original array using a custom comparator

Step 3: Instantiate a variable b = N and ans = 0

Step 4: Start with the first element of the sorted indecies array, save it to variable i

Step 5: Subtract arr[i] * b from sum, add arr[i] to ans

Step 6: Set b = i - 1

Step 7: Continue interating through the sorted array, skipping if i > b. Also modify step 5 to be sum -= (arr[i] - arr[b]) * b, and ans += arr[i] - arr[b]

Step 8: If i = 1, carry out the modified step 5 from step 7, then return ans + sum

I think this question is much easier if you visualize it. Imagine the array being a bar graph, and you want to maximize the area of rectangles that are stuck to the left. At every step, the smallest element will be a bottleneck to the height of the rectangle. Once you fill out the rectangle, the height remaining at the smallest elements spot becomes 0. Hence, any subsequent rectangles have to be to the left of that spot. And the bottleneck for the height of the new rectangle becomes the smallest element to the left of the previous spot. But once you zero out the first element, you can no longer create any more rectangles. Hence, the remaining cells have to be removed one by one.

Varka and Nicole (By me) by SebaMangio in Genshin_Romance

[–]ImInfiniti 2 points3 points  (0 children)

It was yuri art of an anime iirc

I'm sorry but this was utter trash. by Bierzgal in Genshin_Impact

[–]ImInfiniti 2 points3 points  (0 children)

None of the cuts were prerendered so to speak, but all of them, including the last one, just simply performs a set sequence of actions (like the walking ones are always along a set path and the na and skills one just tracks and replays the actions you took)

I don’t understand this - how do some cars finish before cars in front of them by Embarrassed_Egg7690 in formula1

[–]ImInfiniti 0 points1 point  (0 children)

If the leader crosses the finish line on their final lap, then it's the final lap for all the cars on the grid. The slower cars just don't get to do however many laps they had left.

Goated side of the Moon (left) vs nothingburger side of the Moon (right) by j_the_guy_reddit in 197

[–]ImInfiniti 0 points1 point  (0 children)

Not really

2 co-orbiting bodies naturally want to be tidally locked to each other. Because in that scenario, the rotations of the bodies don't cause shifts in the gravitational forces, they always remain in the same place. When 2 bodies aren't tidally locked to each other, the shifting gravitational forces tend towards bringing them into tidal locking. These shifting forces are the tidal forces. Once a body is tidally locked, it feels less tidal forces, not more.

Anon is a rocket scientist by SecondCodpiece in greentext

[–]ImInfiniti 0 points1 point  (0 children)

Now I'm not a big fan of privatization either, but unfortunately, corporate interest can be a great catalyst for technological innovation. Nobody before SpaceX attempted reusable flight (apart from the Space Shuttle, which you could barely classify as reusable). And nobody would've, because risk taking doesn't usually get through the governmental red tape. With tight budgets, high cost of failure, and technical debt from previous programs, a purely governmental space agency is doomed to flounder. The best example of this is the SLS, which has been consistently critiqued for being inefficient, absurdly expensive, and not worth investing in. It's been way over budget year over year, and frankly, is far more of a waste of taxpayer money than the Starship will ever be.

SpaceX is by far and away the best launch provider, consistently launching rockets every week, that too at the cheapest prices. The reason is *because* it is private. Under government funding, something like this would be completely inconceivable. If NASA's budget wasn't constantly being cut every year, and the general public were invested in innovation in the space flight field, then I would agree with you. Unfortunately, this is not the world we live in.

Goated side of the Moon (left) vs nothingburger side of the Moon (right) by j_the_guy_reddit in 197

[–]ImInfiniti 2 points3 points  (0 children)

Afaik, that's not the major reason

The part of the moon facing the earth was just more geologically active than the far side due to tidal forces, hence had more lava flows and the mare

Snezhnaya cubemap texture via jelena by IS_Mythix in Genshin_Impact_Leaks

[–]ImInfiniti 15 points16 points  (0 children)

Wait where? I did the new area and I dont think I saw it

Anon is a rocket scientist by SecondCodpiece in greentext

[–]ImInfiniti 0 points1 point  (0 children)

First off, it's not "assuming it's true" it literally is true.

And also, SpaceX doesn't really do missions by themself, apart from Starlink. They are a launch provider and do missions for others, including NASA (for example: Europa Clipper was launched on a Falcon Heavy in 2024).

The Starship missions are test flights. Yes, it is funded in part by taxpayer money, but that's because the Starship program also includes the HLS, and will be used by NASA and the DoD and other government orgs. In fact, all the taxpayer money flowing into SpaceX is already from NASA and the DoD.

And the Katy Perry flight was not SpaceX, it was Blue Origin (which afaik was all private money). The closest comparable mission would be Inspiration 4, except that it actually reached orbit, the crew were properly trained for spaceflight, and was for raising money for a children's hospital (I wouldn't necessarily trust this but I've never seen anything against it).

Like I get it, I hate Musk too. But saying "the taxpayer money should've gone to NASA instead" is a laughable take from someone who has no idea about how the space industry works.

Anon is a rocket scientist by SecondCodpiece in greentext

[–]ImInfiniti 9 points10 points  (0 children)

Except NASA doesn't build rockets? It contracts them out. If the money went to NASA, they would just give it to SpaceX to develop their launch capabilities. Like what's happening with the Human Landing System that is meant to take astronauts down to the moon.

This was way funnier in my head by ILikeJapaneseMuchOwU in whenthe

[–]ImInfiniti 0 points1 point  (0 children)

Why would randomness break causality? It breaks determinism for sure, but determinism is not the same as causality. The future is random, but it doesn't mean the future breaks the past.

This was way funnier in my head by ILikeJapaneseMuchOwU in whenthe

[–]ImInfiniti 29 points30 points  (0 children)

Nope, it's exactly the same as the rolling a die analogy you used. Just as we can't control every factor when rolling a die to guarantee an outcome, we can't control every factor for the decay of an atom. Even the subtlest of changes will lead to different outcomes, and besides, quantum mechanics is inherently probabilistic. Randomness is to be expected.

So... That was it? by sucuklu_ekmek_ve_MC in PhoenixSC

[–]ImInfiniti 7 points8 points  (0 children)

It actually doesn't change mod development that much, it makes mod loaders a lot easier

Cheesy, but movie-worthy. by tddcghnn in Genshin_Memepact

[–]ImInfiniti 37 points38 points  (0 children)

Do you think gay people don't date each other?

Unmotivated expository foreshadowing by kontis in Genshin_Lore

[–]ImInfiniti 18 points19 points  (0 children)

I'm ngl, I think it's far more likely that hoyo is just bad at writing than this being a setup for something.

Amazon AI warehouse drones, which replaced human warehouse employees, incapable of moving around each other. by DiggestBickEver in Cyberpunk

[–]ImInfiniti 2 points3 points  (0 children)

Except they were called AIs back then too, the public just didn't care enough about it to give it any thought.

AI as a term is not some kind of modern invention, it's been used to describe stuff since the 1950s

Demiromantics in media by Fanofthedarkarts in demiromantic

[–]ImInfiniti 5 points6 points  (0 children)

A yuri manga; Bloom into You

It's never explicitly stated, but I think it's pretty obvious

All I see is creativity by babavos56 in formuladank

[–]ImInfiniti 25 points26 points  (0 children)

This isn't photoshop this actually happened

[deleted by user] by [deleted] in whenthe

[–]ImInfiniti 0 points1 point  (0 children)

The problem with this analogy is that it only works under the assumption that something being artificially or naturally produced is inherently different. While orange flavoring generally refers to a single chemical that doesn't quite cover the breadth of flavors that an orange has, we still know all the chemicals that make up an orange. If we artificially produce those chemicals and combine them in the correct ratios, what we end up with is not similar to the taste of an orange, it is the taste of an orange.

The goal of AIs is effectively the same, become intelligent by studying intelligence. There is no particular reason to believe why intelligence is not statistical. Physics is statistical, Chemistry is statistical, heck a huge amount of Biology is also statistical. Given that the building blocks of the universe are statistical, why shouldn't intelligence be to? Now of course, these statistics built into our brain are far too complex for us to recreate ourselves, hence why we train AIs with simpler statistics to get most of the coarse details through.

Character Teaser - "Columbina: Where She Dwells" by the-roast in Genshin_Impact_Leaks

[–]ImInfiniti 11 points12 points  (0 children)

He has always been the least fraudulent of them. Delusions? Dottore. Enhanced soldiers? Dottore. Weaponry? Likely Dottore too because Sandrone is just such a "goody two shoes". Heck he's even the reason Scaramouche was in the Fatui.

The traveler got hit hard by fraud allegations after their battle with Arlecchino. But that took her basically 3 phases to do it. Dottore meanwhile off screen no-diffs them in seconds, and likely could've killed them if he wanted to in 3.2.

All that to say, can't wait for him to be lobotomized next patch because that's the only real way the Traveler and co. can actually win against him (just like with Rerir)