## Search found 15 matches

Fri Mar 07, 2003 1:41 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 23707
i'm just stupid, forget what i said raysa
Fri Mar 07, 2003 1:41 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 23707
o wait hahah never mind =) sorry
Fri Mar 07, 2003 1:21 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 23707
Hey guys, Raysa for your second to last data set - 12 56 71, I get 5 11 instead of 2 3. I don't see how 2 3 is possible. Thanks everyone for the input. I get all the same answers as you guys. Also thanks turuthok. I fixed my program though I haven't submitted yet. Going to now.
Thu Mar 06, 2003 6:40 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 23707

### DID IT WORK?

Hey prom, did you get the program working. just curious to see if the minimal drinking is true. Cause they sure didn't say so.
Sun Jul 07, 2002 8:01 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
O wait i see what you're saying about the recursion thing.... nevermind, so recursion is bad?? that means i need to change it?
Sun Jul 07, 2002 8:00 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
errrrr. i'm not getting it, do you have an example program that uses that what you're talking about??? sorry for troubling you.
Sun Jul 07, 2002 7:58 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
For the recursion issue, what is the limit on the number of times?? the most my function could recurse is about 20 times. Argh, I forget what kind of sort is similar. Let's see if I can explain it. Assume the array is sorted. An array of 1,000,000 (say for 1,000,000 zeroes) it finds the middle posit...
Sun Jul 07, 2002 7:52 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
That input file thing.....I thought when submitting to the judge you could not create an outside file. Or do you mean just do it for means of fixing the program?
Sun Jul 07, 2002 6:53 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541

### 10324

Hi, I'm getting this RE message Your program has died with signal 11 (SIGSEGV). Meaning: Invalid memory reference Before crash, it ran during 0.170 seconds This sucks. One thing I can say is that when I run on my comp using Microsoft Visual C++, and I try to type in a huge string of 0's and 1's i ca...
Sat Jul 06, 2002 8:17 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
O yea one more question.... Is it okay if I output the answers before the judge is finished inputing all the data?? or will that mess it up?
Sat Jul 06, 2002 8:15 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
HAHAHAHAHA....TLE now. 30 seconds. That's funny. Well man thanks a lot. This is a harder program than i thought.
Sat Jul 06, 2002 8:05 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
This is making me mad. I am using AOL, which is bad I know, but I sent it to a yahoo account i made and it did not add anything to the e-mail. Now I tried it with yahoo, and it sends and doesn't return an #include message but yahoo mail adds a little advertisement at the bottom of every e-mail which...
Sat Jul 06, 2002 6:28 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
I don't know what is wrong. I copied and pasted from this thread and submitted it but i still get the #include compiler error. Here is my code. It is the exact same as above except without the // . [cpp]/* @JUDGE_ID: 20782HK 10324 C++ */ #include <stdio.h> void process(char string[1000000], int pos1...
Sat Jul 06, 2002 7:39 am
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541
Thanx so much. I appreciate it. But now I get this stupid compiler message regarding the #include thingy
00933964_24.c:50: `#include' expects "FILENAME" or <FILENAME>
All i included was stdio.h
ARGGGHH This compiler makes me so upset =/
Anyway Thanx again.
Sat Jul 06, 2002 3:41 am
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45541

### 10324

Hey guys, whats up. This is my first program with this online judge thing so I have to get used to it. I'm getting this compiler error message: /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status ... And here is my cod...