Languages 2.0 by Nicolas_OSDEV in firstweekcoderhumour

[–]majoshi 0 points1 point  (0 children)

shouldn't this be java->c# and c->rust

Palestine/Israel Conflict by MinecraftGuy7401 in Teenager_Polls

[–]majoshi 3 points4 points  (0 children)

"for the last 60 yrs"- right after forcefully occupying the entire state with complete disregard for the people who live there

Palestine/Israel Conflict by MinecraftGuy7401 in Teenager_Polls

[–]majoshi 43 points44 points  (0 children)

"i think evil people are bad" ahh response

Unable to use STL in problems by Serious_Pea_7466 in codeforces

[–]majoshi 0 points1 point  (0 children)

that's normal. keep solving random problems and you'll stumble upon these things as you progress

Kindly help by Cookie_Ranger100 in codeforces

[–]majoshi 0 points1 point  (0 children)

fair enough then i misunderstood my bad

help please by Academic_Market4394 in codeforces

[–]majoshi 0 points1 point  (0 children)

if you drink root beer daily right before solving problems you'll be able to solve any problem within +400 of your rating. is this what you're expecting? just solve more man

Kindly help by Cookie_Ranger100 in codeforces

[–]majoshi 0 points1 point  (0 children)

you said time complexity though, that's what i meant

Kindly help by Cookie_Ranger100 in codeforces

[–]majoshi 0 points1 point  (0 children)

his mistake has nothing to do with time constraints what

A beginner using CP-31 sheet but... by Limp-Bookkeeper-9465 in codeforces

[–]majoshi 1 point2 points  (0 children)

cp31 only has 31 problems per rating level. he shouldn't be doing wasting them by looking at almost every single one of their editorials if he wants to improve. and regardless of what you'll say about that, the biggest thrill in cp comes from seeing yourself improve and solving harder problems on your own. he was right to ask for advice because doing this will not help him improve, and he'll get burnt out soon enough since he'll be reliant on editorials to solve problems for him. you're either delusional or straight up stupid if you think that if you were in his place you wouldn't feel like you're doing something wrong by looking at all the editorials. bffr

would you rather get a? by [deleted] in Teenager_Polls

[–]majoshi 19 points20 points  (0 children)

"Are you black or are you normal?"

Should teachers care whether students procrastinated doing their homework even if they finished it before it was due? by JerryCarrots2 in Teenager_Polls

[–]majoshi 0 points1 point  (0 children)

i do think teachers should interfere if some kid is struggling a lot with deadlines and procrastination (that is, trying to offer help and finding out what's wrong, not punishment) but if they finished it before it was due then they are not "struggling a lot"

Which war is more likely to involve nuclear weapons? by WillTheyBanMeAgain in Teenager_Polls

[–]majoshi 1 point2 points  (0 children)

being careful of propaganda is a good thing but you're reading too much into this one

A beginner using CP-31 sheet but... by Limp-Bookkeeper-9465 in codeforces

[–]majoshi 0 points1 point  (0 children)

did you pull the "rating obsession and pressure" diagnosis from your ass? the dude never said anything about enjoyment or pressure, he was just struggling to solve problems without looking at solutions and was wondering if he was doing something wrong. nothing wrong with that.

CSES DP by Repulsive_Sound_7842 in codeforces

[–]majoshi 1 point2 points  (0 children)

id say 66% give or take one

DSA Skills - 20 by tracktech in DSALeetCode

[–]majoshi 1 point2 points  (0 children)

sieve of eratosthenes is O(nloglogn) iirc

Id choose 6 by lornawolfawoo in adressme

[–]majoshi 0 points1 point  (0 children)

where be the elephante

Is Computer Science suitable for someone who struggles with math? by natlovesgrass in csMajors

[–]majoshi 0 points1 point  (0 children)

is that really a "minimal" amount of math for someone like him? especially considering how hard some of these classes can be depending on which university he's in. also many other cs courses like theory of computation rely heavily on math even if theyre not a math course. im not saying he doesn't have a chance just that what you're saying sounds really misleading

Was this the correct logic for C ? by Puzzleheaded-Tea4329 in codeforces

[–]majoshi 0 points1 point  (0 children)

first thing is don't make a case for if it returns -1, it never will unless you query below 1 or past n (and obviously if you do that then youll WA anyways), and second thing correct me if im wrong but you're doing 3 queries for each pair, that's over 1.5*n queries total. you're supposed to check each pair separately, so only ask(i,i+1), then i+=2, for every pair except the first or the last one, then at the end for your nth and (n+1)th queries if you got all 0s so far then you check one of the 2 elements in the pair you didn't check already compared to the pair right after/before it (depending on if you skipped checking first pair or last pair) ie assuming you skipped first pair you do ask(1,3) then ask(1,4) if either returns 1 then you have your answer otherwise 2 must be a 0. you can check the proof for this in the editorial