Search found 13 matches

by devious
Sat Oct 20, 2007 12:58 pm
Forum: Volume 102 (10200-10299)
Topic: 10258 - Contest Scoreboard
Replies: 87
Views: 33471

Lol. I believe first and foremost your problem is you didn't write that code yourself. I blame myself for that though. I have removed my code from this thread.
by devious
Wed Feb 07, 2007 8:31 am
Forum: Volume 100 (10000-10099)
Topic: 10044 - Erdos Numbers
Replies: 102
Views: 38237

Edit: Got it accpeted
by devious
Tue Jan 30, 2007 8:37 am
Forum: Volume 100 (10000-10099)
Topic: 10090 - Marbles
Replies: 43
Views: 21905

I am confused on how the extended euclidean algorithm can be used to solve this problem. It would seem you wouldn't need it, considering the values it returns are not the correct ones. It is simple to come up with the equation 3x + 4y = 43 (from sample input) without the ext. euclid. Am I missing a ...
by devious
Tue Mar 21, 2006 11:02 am
Forum: Volume 100 (10000-10099)
Topic: 10044 - Erdos Numbers
Replies: 102
Views: 38237

What am I doing wrong?

Accepted
by devious
Mon Mar 20, 2006 12:39 pm
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 26512

10315: Poker Hands (clarification questions)

So.... Four of a Kind: It says to rank by value of four cards if both have a four of a kind. Can there be more than one deck? Because it doesn't say there can't, and if so, would I rank the hand with the 5th card being the kicker(deciding card)? Full House: More or less the same as above, but if The...
by devious
Mon Mar 20, 2006 11:15 am
Forum: Volume 102 (10200-10299)
Topic: 10258 - Contest Scoreboard
Replies: 87
Views: 33471

...what a stupid mistake... Thank you. Its AC
by devious
Mon Mar 20, 2006 9:13 am
Forum: Volume 102 (10200-10299)
Topic: 10258 - Contest Scoreboard
Replies: 87
Views: 33471

EDIT: Accepted
by devious
Fri Mar 03, 2006 4:40 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 11932

what?!
by devious
Fri Feb 24, 2006 6:18 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 74985

two years later, and some one randomly decides to answer your question. You are only reading the first 255 characters on a line. There can be up to 2999 different numbers, all of which can be up to 4 characters long, and not to mention the spaces in between the numbers. 255? I don't think so lol
by devious
Fri Feb 24, 2006 4:17 am
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 11932

120 Flapjacks Misinterpreting output?

Hey, I think I am misinterpretting the problem with how I am suppose to output flips. But, can someone give me some test samples or something? import java.io.*; import java.util.*; class Main { public static void main(String[] args) { String s,answer; StringTokenizer st; int flips,f; int[] flapjacks...
by devious
Thu Feb 23, 2006 3:50 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 11932

Hey, I think I am misinterpretting the problem with how I am suppose to output flips. But, can someone give me some test samples or something? import java.io.*; import java.util.*; class Main { public static void main(String[] args) { String s,answer; StringTokenizer st; int flips,f; int[] flapjacks...
by devious
Wed Feb 22, 2006 9:49 am
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30082

Thanks,
Lol, I flipped back to the first post, and realised the problem he was having was the problem I was having. I needed to include the newline characters. Got it accepted ;D
by devious
Wed Feb 22, 2006 7:06 am
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30082

Ok, so I have tried all the test samples for this problem that y'all have supplied....and everything comes out correctly. This means..either there is some off the wall test case I am not considering, or my I/O is totally screwed... can y'all trace through my code and find my mistake? I am tired of W...

Go to advanced search