Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First day of school...
#1
Oh my god...it was SO BORING!!! There was one teacher who was cool who has a Ph.D. He teaches science and is called Dr. Poppem. Pronounced how it looks. He was pretty cool along with Mr. Smith. He is funny and cool. But overall it was hot and boring. But there is this new chick at my school and is in my Art class and she is SO FRIGGIN HOT! Good god. If you didn't know I'm in 8th grade now (*Applause in background*), Thank you, thank you. And during one of the classes I was like "Woah...this is weird. I don't feel like I should be here." And I was thinking like that and like "How did it happen" It was a strange feeling. I hate the first day of school because they talk about the same stuff as the year before and I don't pay attention to them hardly any. I got sent to the office though for cussing a kid out because he was being a bitch. Everything blew over after that.

But dang! It was a lame experience. Highschool should be better, I hope. Don't say it wont get better because that will make me feel bad. But I wanted to share a couple brain teasers I learned, one is from Dr. Poppem when there was nothing else to do in quest and the other is from another student.

1. There are 8 balls. Just normal balls. But one is 10 times heavier than the others but looks the same. They ALL look the same. You also have a balancer thing (Where you put something in a sheet and something else on the other landing sheet thing and see what weighs more, you know?) and you can only use the balancing scale twice. How do you find the heaviest ball with only ten tries?

2. A man works for a 20 story building. He works on the twentieth floor. He goes into an elevator, only him, only one elevator. He presses the button and goes all the way to the first floor and leaves. But when he gets back in he has to go to the 5th floor and walk up the stairs all the way back. Why? (This one is simple but you may make it too complicated for yourself. Only one elevator, nobody else on the elevator, he works on the 20th floor. )

Just answer these once. Take a guess please.
Reply
#2
Quote:1. There are 8 balls. Just normal balls. But one is 10 times heavier than the others but looks the same. They ALL look the same. You also have a balancer thing (Where you put something in a sheet and something else on the other landing sheet thing and see what weighs more, you know?) and you can only use the balancing scale twice. How do you find the heaviest ball with only ten tries?

That a typo, or is the answer you cant, cause you only have two tries, not ten?
[Image: BurterJune08.jpg]

Want a cookie?
Reply
#3
Quote:2. A man works for a 20 story building. He works on the twentieth floor. He goes into an elevator, only him, only one elevator. He presses the button and goes all the way to the first floor and leaves. But when he gets back in he has to go to the 5th floor and walk up the stairs all the way back. Why? (This one is simple but you may make it too complicated for yourself. Only one elevator, nobody else on the elevator, he works on the 20th floor. )

Double post.


The dude is a midget. He cant reach the 20th floor button, so he walks most of the way.

Midgets > J00
[Image: BurterJune08.jpg]

Want a cookie?
Reply
#4
You can tell by picking them up, one is ten times as heavy. Rolleyes
Sinners make the best Saints
[Image: tobiasyu5.jpg]
Reply
#5
Nope. You get two tries only. It's possible. You need to think and stop killing your brain cells. *Cough*

Edit: Burter is right on number two. And you CANNOT touch or hold any of the balls. And you use telekenisis to put them on the balancing scale before anybody asks how..
Reply
#6
Yes, score one for the sexy blue man!
[Image: BurterJune08.jpg]

Want a cookie?
Reply
#7
Quote:You can tell by picking them up, one is ten times as heavy.

I lub j00.

8th grade? D00d, you're in the same grade as my younger brother... Now you're like... little to me. o.O
Reply
#8
I'm probably late in catching it, but XD at Tapion's title
[Image: BurterJune08.jpg]

Want a cookie?
Reply
#9
Yeah, it's only a week old.

/* 8 balls algorithm */

#include <stdlib.h>
#include <stdarg.h>

#define BALL_N 8
#define NORMAL_WEIGHT 10
#define MAX_WEIGHS 2

static int balls[BALL_N + 1]; /* ball weights */
static int weight_c = 0; /* number of weighs performed */

/* positions of each ball for each weight, position 0 is not used */
static char weigh1_positions[] = " L--LLRR--LRR";
static char weigh2_positions[] = " -L---LRLRRLR";

/* returns: <0 if right heavier, 0 if equal, >0 if left heaver */
static int weigh(const char *positions)
{
int ball_c, ball, total = 0;

weight_c++;
if (weight_c > MAX_WEIGHS) abort();

for (ball_c = 1; ball_c <= BALL_N; ball_c++) {
if (positions[ball_c] == 'L') {
total += balls[ball_c];
}
else if (positions[ball_c] == 'R') {
total -= balls[ball_c];
}
}

return total;
}

/*
* Do the 2 weighs and then figure out which ball is different. It
* will return the number of the ball as a negative number if it is
* lighter than the others or a position value if it is heavier.
*/
int do_it(void)
{
int ball_c, weigh1, weigh2;

weigh1 = weigh(weigh1_positions);
weigh2 = weigh(weigh2_positions);


/* check for heavier */
for (ball_c = 1; ball_c <= BALL_N; ball_c++) {
switch (weigh1_positions[ball_c]) {
case 'L': if (weigh1 <= 0) continue; break;
case 'R': if (weigh1 >= 0) continue; break;
case '-': if (weigh1 != 0) continue; break;
}
switch (weigh2_positions[ball_c]) {
case 'L': if (weigh2 <= 0) continue; break;
case 'R': if (weigh2 >= 0) continue; break;
case '-': if (weigh2 != 0) continue; break;
}
return ball_c;
}

/* check for lighter */
for (ball_c = 1; ball_c <= BALL_N; ball_c++) {
switch (weigh1_positions[ball_c]) {
case 'L': if (weigh1 >= 0) continue; break;
case 'R': if (weigh1 <= 0) continue; break;
case '-': if (weigh1 != 0) continue; break;
}
switch (weigh2_positions[ball_c]) {
case 'L': if (weigh2 >= 0) continue; break;
case 'R': if (weigh2 <= 0) continue; break;
case '-': if (weigh2 != 0) continue; break;
}
return -ball_c;
}

abort();
}

int main()
{
int diff_c, ball_c;

/* init all of the balls */
for (ball_c = 1; ball_c <= BALL_N; ball_c++)
balls[ball_c] = NORMAL_WEIGHT;

for (diff_c = 1; diff_c <= BALL_N; diff_c++) {
(void)printf("Odd is %2d: ", diff_c);

weight_c = 0;
balls[diff_c] = NORMAL_WEIGHT - 1;
if (do_it() != -diff_c) abort();
(void)printf("lighter, ");

weight_c = 0;
balls[diff_c] = NORMAL_WEIGHT + 1;
if (do_it() != diff_c) abort();
(void)printf("heavier\n");

balls[diff_c] = NORMAL_WEIGHT;
}
return 0;
}

/* end program */

Put 2 of the balls aside. Weigh 3 of the remaining balls against the other 3 remaining. If they are the same then weigh the 2 balls that you put aside to find out which of them is heavier. If, instead, one of the sets of 3 balls was heavier, put one of the balls from the heavier set aside. Weigh the remaining two balls from the set to find out which one is heavier. If they are equal then you know it is the 1 ball that you put aside. If they aren't equal... well, then you're screwed, because you can only weigh twice. =D

Oh, and yeah, highschool is a lot better. We have block scheduling, which basically involves having 8 rotating classes in pairs of 4 per day. So I have 4 one day, which rotate, and then the 4 other the next day. Anywho, I have 3 classes, then lunch, and then my 4th period. So on the first day, I had Study Hall 4th period, so I went out to lunch and then just went home afterwards. Good stuff for the first day. =P
Reply
#10
Yes I'm in 8th grade. You should know that, you know I'm thirteen, right? And yes you are late on that Burter. And yes you are right Broli. Orignally made by Einstein.
Reply
#11
I'm the one who told you that. -_-
Reply
#12
Props to you and Einstein. xD
Reply
#13
Grade 8 goes so fast don?t worry about it. High skool is great and all but some info when u get in to higher grades u may have to take a course during the summer and it may seem like hell no but do it. U come out with a super mark (me 95% in data management and this was during summer skool and while in normal day to day skool math 55% plus both where at the university level). Grade 9 and 10 are ur years to do very well and get high marks but still not over work ur brain, grade 11 is the worst year for some reason it sent me into a depression with many of my friends (no joke) and im going to grade 12 but its going to be fun parties, drinks and more drinks. Smile
Reply
#14
...

You mean a "hole"?

If you take something away from a "whole", its not a "whole" anymore.
[Image: RadOct.jpg]
"In this world, his world, life is just a game you play"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)