Cookie Thread Act 3: The Cookie Strikes Back

what song

i dont know im not lame

once i was on a walk and I measured my heartbeat because it was the same bpm as the song PUSH UR T3MPRR by femtanyl

1 Like

im not lame

says lame thing

I’ve lost count of how many BotC threads I have muted

1 Like

the cookie thread is like half a botc thread

3 Likes

4 Likes

image

2 Likes

I dunno but i appreciate u :sob:

I appreciate story too

You suck though

:heart_decoration:

1 Like

we love the demon blade

1 Like

HELP ME

1 Like

Whenever I’m ordering coffee the sentence goes through my mind and makes me almost slip up. Every time. I don’t know where I got “uhhh can I get a small hot iced” from but it exists in my head and won’t leave

5 Likes

gonna go to my local starbucks and asked for a small hot iced brb

2 Likes

Ok, I think I have something.

public int wrongRound(double number) {
  int rounded = (int) number;
  if (number == rounded) return rounded;
  return (int) (2 * rounded - number + 1.5);
}
1 Like

This took far too much Desmos chicanery to figure out.

public int wrongRound(double number) {
  int rounded = (int) number;
  if (number == rounded) return rounded;
  return (int) (2 * rounded - number + 1.5);
}
func round(x) returns x
    y = truncate(x)
    x = truncate(y + 1.5 - (x-y))

we came to similar conclusions :P

1 Like

i didnt do the error checking so it doesnt handle whole numbers properly. I wonder if theres a way. to have it check whole numbers. without a conditional

The issue I ran into is that the formula rounds the number up.