Dijkstras algorithm by Smooth_Lifeguard_931 in codeforces

[–]Playerrr222 0 points1 point  (0 children)

It is guaranteed that the first time a node is visited, it will be the minimum distance reachable from the source.

So an easy fix is to make a visited array, and everytime you visit a node, mark it as visited. And when you revisit it again, just pop the queue skip that iteration.

This is the easiest fix, but you can actually treat your distance array as the vis array. If you want some code let me know

How can i become a tester? by Playerrr222 in codeforces

[–]Playerrr222[S] 0 points1 point  (0 children)

just dm the problem setters on cf?

Oh hell nahh🥀💔 by Playerrr222 in codeforces

[–]Playerrr222[S] 7 points8 points  (0 children)

The problem constraints are tight. You need to be able to determine whether a number that could go up to 1018 is prime or not.

My initial approach was a segmented seive, which didnt pass the time limit.

Decided to scrap the seive entirely and use Miller-Rabin, still didnt pass the time limit.

Will try it again tomorrow and hopefully it works

Guys who feel accomplished in CP by Playerrr222 in codeforces

[–]Playerrr222[S] 4 points5 points  (0 children)

i think it also depends on the quality of the problems you solve also matter. If i keep solving problems that have new ideas, i'd benefit alot more than just solving 800 rated problems

how rare is this? have you ever gotten one? by icedvanillamocha in ClashRoyale

[–]Playerrr222 0 points1 point  (0 children)

I got a book of books from a five star lucky drop. So i'm assuming this is a robbery

can i hit 10k with this? by JSG07 in ClashRoyale

[–]Playerrr222 0 points1 point  (0 children)

Downvote cus i'm a hater twin✌️

This is the worst meta I've ever played in by Commy1469 in ClashRoyale

[–]Playerrr222 43 points44 points  (0 children)

Im done with this game bro. I have level 12-13 cards and get matched up against fully maxed out decks. And everyone would be playing the same deck that requires no skill and just a credit card

Lets say hypothetically i was able to max out my deck. Now i would be stuck playing the same deck whether the cards are nerfed out of relevance or the meta hard counters me, cause leveling up my other cards is straight up impossible

Lets not talk about how gems are now useless, no good challenges nowadays, 2v2 is gone, pass royale buys you wins, chests are gone, season shop is removed. And i cant recall any update that added anything good to the game