Search found 15 matches

by KE4MTG
Fri Mar 07, 2003 1:41 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22716

i'm just stupid, forget what i said raysa
by KE4MTG
Fri Mar 07, 2003 1:41 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22716

o wait hahah never mind =) sorry
by KE4MTG
Fri Mar 07, 2003 1:21 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22716

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.
by KE4MTG
Thu Mar 06, 2003 6:40 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22716

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.
by KE4MTG
Sun Jul 07, 2002 8:01 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

O wait i see what you're saying about the recursion thing.... nevermind, so recursion is bad?? that means i need to change it?
by KE4MTG
Sun Jul 07, 2002 8:00 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

errrrr. i'm not getting it, do you have an example program that uses that what you're talking about??? sorry for troubling you.
by KE4MTG
Sun Jul 07, 2002 7:58 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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...
by KE4MTG
Sun Jul 07, 2002 7:52 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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?
by KE4MTG
Sun Jul 07, 2002 6:53 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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...
by KE4MTG
Sat Jul 06, 2002 8:17 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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?
by KE4MTG
Sat Jul 06, 2002 8:15 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

HAHAHAHAHA....TLE now. 30 seconds. That's funny. Well man thanks a lot. This is a harder program than i thought.
by KE4MTG
Sat Jul 06, 2002 8:05 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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...
by KE4MTG
Sat Jul 06, 2002 6:28 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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...
by KE4MTG
Sat Jul 06, 2002 7:39 am
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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.
by KE4MTG
Sat Jul 06, 2002 3:41 am
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 43587

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...

Go to advanced search