Search found 5 matches

by EugeneF
Mon Aug 23, 2004 7:55 am
Forum: Algorithms
Topic: USACO Broken Necklace Problem
Replies: 8
Views: 6168

Thank you very much.

I have finished this problem and am on now on the checkers problem.

Thank you very much.
by EugeneF
Sun Aug 15, 2004 7:21 am
Forum: Algorithms
Topic: USACO Broken Necklace Problem
Replies: 8
Views: 6168

Could someone please explain to me EXACTLY what I have to do?
Do I count clockwise and counterclockwise for each one and then add them? Do I compare which length is longer? It doesn't matter if I say clockwise or counterclockwise because in the end it is the same...unless you meant start from the ...
by EugeneF
Fri Aug 13, 2004 7:19 pm
Forum: Algorithms
Topic: USACO Broken Necklace Problem
Replies: 8
Views: 6168

Well I am certainly not using an array and I am still just as confused as ever about going backwards.
This problem is really upsetting me a lot because I can't move on!
[cpp]

#include <iostream>
#include <string>
#include <fstream>
using namespace std;
string breakBeads(string beads, int i);
int ...
by EugeneF
Thu Aug 12, 2004 9:34 am
Forum: Algorithms
Topic: USACO Broken Necklace Problem
Replies: 8
Views: 6168

USACO Broken Necklace Problem

Hi. I recently returned to do USACO problems but I am still stumped on the broken necklace one. I don't understand the problem correctly, because my program fails for test 3. For input
77
rwrwrwrwrwrwrwrwrwrwrwrwbwrwbwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwr

Please explain this to me. I ...
by EugeneF
Sun Mar 28, 2004 4:18 am
Forum: Algorithms
Topic: Algorithm Books
Replies: 19
Views: 7858

Are the books appropriate?

Hi, I'm a student in grade 10. I want to get involved with problem solving through programming and am looking for some books to help me get started. I was looking at "Programming Challenges" which seems to be at my level. How in depth does it go? How is it different from the lectures on his website ...

Go to advanced search