Show newer

@monorail if you actually say "ack" in real life then i am reporting you :clodsire_angy:

@cam aesc and i are twins and we are also gemini so i think astrology is real, sorry

@vaporeon_ i intentionally renamed variables to make it stupider

also, this was a difficult solution that is a little tricky explain. also, i dont fully understand how it works lol

re: uppercase 

@vaporeon_ also my horrible legacy code backend at my recent job did so much bullshit in sql that it kind of scarred me

re: uppercase 

@vaporeon_ it's fine. i just find it boring

@vaporeon_
The downside of doing that is that your code starts looking like this:

class Solution {
public:
int p(int i, int l, int s) {
return (s + i) % l;
}

int swap(vector<int>& a, int i, int j) {
int t = a[i];
a[i] = a[j];
a[j] = t;
return j;
}

void rotate(vector<int>& n, int k) {
int L = n.size();

k = k % L;

int c = 1;
while ((c * k) % L != 0) c++;

for (int i = 0; i < L / c; i++)
for (int j = 1, b = i, D = L - k; j < c; j++)
b = swap(n, b, p(b, L, D));
}
};

@cam @vaporeon_ ordinary scientists are grown in a lab, while natural scientists are found in the wild

@maple the thing is, i knew that ☠️☠️☠️☠️☠️

@vaporeon_ "Okay, I will name the first one Vaporeon, that's a really good name. And the next guy, well, um. hmmmm.........."

confession 

@aschmitz @Satsuma i am not actually going to do this.

@Satsuma @aschmitz if you don't hear from me for the next month it will be because i will be reading the entirety of wikihow so that i may learn to Live Correctly

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.