
-----------------------------------
klopyrev
Fri Apr 06, 2007 2:13 pm

Ecoo 2007
-----------------------------------
Now that the Boardwide contests are over, how did everyone do? How did you find the questions? Is it me or were these questions harder than the finals of the past couple years? Anyway, who's going on to the next stage? Also, if anybody has them, post the questions. Somebody has taken my copy:P

KL

-----------------------------------
Clayton
Fri Apr 06, 2007 7:08 pm

RE:Ecoo 2007
-----------------------------------
The questions were definitely waaay harder this year compared to last year. Apparently they found the questions were too easy last year, so they made harder ones this year.

-----------------------------------
Flikerator
Fri Apr 06, 2007 11:43 pm

Re: Ecoo 2007
-----------------------------------
I completely froze. I only got one question done.

I thought the questions were easier this year actually. After the competition I did all four questions perfectly in 2 hours and 32 minutes. It was the pressure of competition that made me crack (I got the first question done quickly, but after that I froze). It really sucks that I won't be going to regionals, but If I crack under pressure there is no sense in me going anyways. I think I just need to drill under pressure.

Good luck to everyone competing at regionals!

EDIT - I say "I" because even though I competed with a team, the others just wanted pizza.

-----------------------------------
ericfourfour
Sat Apr 07, 2007 12:19 am

RE:Ecoo 2007
-----------------------------------
Don't feel bad that you froze. I'm sure many people did. You are lucky you have enough computer science students interested in programming to make a team. Next year, at my school, there may not even be a grade 12 comp sci class because of the lack of interested students.

-----------------------------------
Drakain Zeil
Sat Apr 07, 2007 6:28 am

RE:Ecoo 2007
-----------------------------------
I really miss the ECOO, now that I'm out of highschool. It was quite the ride!

You don't really need a team to compeat, just be really, really good. If you have a junk team, then it could really bring you down. I remember seeing a one-man team get 8th at the 06' western ontario regionals. That's impressive.

I found I spent a huge time not programming (summer) and I've lost my skills... only getting back to where I was a year ago. I fear for this coming summer! Beer = braincells?

What kind of questions did they ask?

-----------------------------------
Chinchilla
Sat Apr 07, 2007 1:22 pm

Re: Ecoo 2007
-----------------------------------
Hey, the first and second one were dead easy, I got those completed quickly. 
The third one I got confused on.
Fourth one easy.

My team was going to end up in regionals anyways, so we scraped the dev of the fourth problem and started playing videogames. Will I see anyone from here at 

• Central Ontario - York University, Department of Computer Science
Thursday, May 3, 2007, 2006 from 11:00 am until 2:00 pm

?

If anyone can put up the third one.. spaceship dealy in 3D plane, I'd greatly appreciate it. My friend took all the contest problems. 
Solutions to first two problems (I realize that the code is horrible.. I don't really think of the best design approach or what would be most aesthetic.. I just take an idea and run like hell with it.)

Can anyone else post their solutions too?

p1

#include 
#include 
#include 
#include 
#include 

using namespace std;

int main() {
    int iterator;
    char buffer[255];
    ifstream fin("data11.txt");
    string password;
    string checkpass;
    fin.getline(buffer, 254);
    password = buffer;
    string encoded;
    string chunk1, chunk2;
    int choonk;
    int x;
    string tmp1;
    string chunk3;
    for(iterator = 0; iterator < 5; iterator++) {
        fin.getline(buffer, 254);
        encoded = buffer;
        tmp1 = encoded.substr(1, encoded.length()-2);
        encoded = tmp1;
        //cout  -1; z--, zz++) {
        cards[zz] = stackC[z];
    }
    for(z = 0; z < (stackA.size()); z++) {
        cards[z + stackC.size()] = stackA[z];
    }
    
}

int main() {
    ifstream fin ("data21.txt");
    vector exs;
    exs.resize(10);
    vector cards;
    cards.resize(52);
    vector WEST;
    vector spades;
    vector hearts;
    vector diamonds; 
    vector clubs;
    int iterator;
    int y;
    for(iterator = 0; iterator < 5; iterator++) {
        int x;
        WEST.resize(0);
        spades.resize(0);
        hearts.resize(0);
        diamonds.resize(0);
        clubs.resize(0);
        
        for(y = 0; y < 52; y++) 
            cards[y] = (y + 1);
        for (x = 0; x < 10; x++) {
            fin >> exs[x];
            shuffle(cards, exs[x]);
        }
        for(x = 3; x < 52; x += 4) {
            WEST.push_back(cards[x]);
        }
        sort(WEST.begin(), WEST.end()); 
        for(y = 0; y < WEST.size(); y++) {
                if(WEST[y] 