New Posts  All Forums:

Posts by wedge

Oh, and one other observation I had, is that the final state no matter what the starting sequence is, will always be sorted from smallest to largest. Sometimes when working through the cycles, the same numbers will be reached, but out...
Quote:Originally Posted by hajile The way to solve it recursively is to start with the last ball (N). N goes on the stack and forces the solution of (N-1) which forces the solution of (N-2) and so on until you get to ball ( 0 ) and...
Quote:Originally Posted by hajileĀ At this point, the first, second, and third groups become independent of each other (in this specific case). As a result, for each cycle, the group with one dot will move one space, the group with 2 dots...
Quote:Originally Posted by Ferrari8608 As for optimizing, I'm sorry but I can't really help much with that. My programs always start out as a 'brute force' solution, and then I scour the internet for mathematical insight to help me...
Quote:Originally Posted by Ferrari8608 You're gonna have a blast man. Once you solve the first couple problems, it can get quite addicting. I've been using the site to sharpen my number skills in programming since I already have...
This seems like a fun way of challenging myself whenever I'm a little bored. I've been looking for something like this, in fact I wish I'd heard of it years ago. I'll be posting here once I get started on one or more of these. I took...
Further to my last post Quote:Originally Posted by awdrifter I have tried making the label to set some default text in there so it's no null, and all the text area are already not null. But for some reason it still has this...
You're declaring your variables twice. Once as a global variable, and once inside the constructor. Like this: Global: private JCheckBox chckbxOilChange; ... then inside constructor it is declared again: JCheckBox chckbxOilChange = new...
Quote:Originally Posted by Matt-Matt 1. Yes I know, I just have no idea where to put it.. You can put the Main method anywhere in CelebStalker class. As you've noticed, it will compile fine without a Main method. But without Main,...
Two things: 1: The error message is pretty clear. It even gives you the code sample that will solve it. If only all error messages were so helpful... and 2: Are you, or are you not, writing a program that will stalk celebrities?
New Posts  All Forums: