@cam oh you aren't yet fully versed in glitchcat lore it seems
@monorail if you actually say "ack" in real life then i am reporting you
@cam aesc and i are twins and we are also gemini so i think astrology is real, sorry
@vaporeon_ what is gorp
@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));
}
};
re: uppercase
@vaporeon_ oh does vaporeon like sql?
re: uppercase
@vaporeon_ counterpoint: sql
@cam so true
@cam @vaporeon_ ordinary scientists are grown in a lab, while natural scientists are found in the wild
@cam @vaporeon_ didn't stop me
@maple the thing is, i knew that ☠️☠️☠️☠️☠️
@maple i understand now.
@maple i was not joking 💀
@maple i've never heard anyone say 4 before?
@vaporeon_ "Okay, I will name the first one Vaporeon, that's a really good name. And the next guy, well, um. hmmmm.........."
kept afloat by big ideas.
you can call me Caleb or Clodsire. i also go by clodboy and catwin. i am not picky about names (unless its one amy made up)
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
pfp is by @The_T
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
"i know your taste in movies well enough to discount your opinion" ~globin
"caleb is the only person on this websites who truly understands what the report button is for: 'i don't like this post'" ~holly
30+
straight
he/him