Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Mock CCC (WCC)
Index -> Contests
Goto page 1, 2, 3, 4, 5  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
A.J




PostPosted: Sun Feb 15, 2009 11:31 am   Post subject: Mock CCC (WCC)

As a practice for the actual CCC, danielG and I made the 'WCC' (Waterloo Computing Competition) for our school. We made a junior and senior set and we presented these questions to our school last friday (day before yesterday). I was wondering if people here are interested in writing the WCC too. The questions are CCC level with CCC formatting abd everything (although I confess that some questions are hard).

I want to make this an official contest here (if there are enough people participating)

I will post the questions here today, and if people seem interested, I'll give a time limit as to when u should submit your solutions to either danielG or me.

Please reply if you have looked at the questions, as we need some feedback so that I can improve on it next year (since danielG's graduating this year)

thanks Smile



Junior WCC.doc
 Description:
Here it is!!!

Download
 Filename:  Junior WCC.doc
 Filesize:  48 KB
 Downloaded:  436 Time(s)


Senior WCC.doc
 Description:
Here it is!!!

Download
 Filename:  Senior WCC.doc
 Filesize:  51 KB
 Downloaded:  361 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
saltpro15




PostPosted: Mon Feb 16, 2009 9:32 am   Post subject: RE:Mock CCC (WCC)

wow, I'm reading through the junior one and this is still pretty hard, great job on the questions though, I'm definitely interested, is Turing acceptable?
A.J




PostPosted: Mon Feb 16, 2009 10:06 am   Post subject: Re: Mock CCC (WCC)

thanks Smile

yes, turing is definitely allowed

And, yes, the questions are slightly hard.......I am sorry Sad, but danielG and I meant to make them a bit harder than the actual CCC
saltpro15




PostPosted: Mon Feb 16, 2009 10:28 am   Post subject: RE:Mock CCC (WCC)

well it'll be great practice, thanks for taking the time to do this

EDIT:

my Turing is going crazy, want to tell me why this isn't working?
Turing:

var input, output : int

open : input, "WCC2.txt", get

open : output, "OUT2.txt", put

var redcounter : int:= 0

var bluecounter : int := 0

var neck_len : int

var necklace : string


get : input, neck_len

get : input, necklace



for i : 1..neck_len



if necklace = "r" then

    redcounter += 1

else

    bluecounter += 1

end if



end for

put : output, redcounter

put : output, bluecounter


I can't run it to see if it works Sad I think it's right though
A.J




PostPosted: Mon Feb 16, 2009 11:38 am   Post subject: Re: Mock CCC (WCC)

please don't post your code on here..............
and I can't help you, sorry Sad, but you can pm me your solutions...

if you have any questions regarding the questions, I can help you.......

I should have mentioned this earlier, but if people really do want to do this contest, then could you refrain from discussing them here?

If more people reply to this thread, I'll post an 'endtime' (most likely sometime next week) so that people can send me their solutions till then and they can discuss the solution after the 'endtime'


EDIT : There are a few questions that might be a bit confusing as they weren't worded properly....If anyone has any questions regarding any of the problems, please let me know. Thanks Very Happy
chili5




PostPosted: Mon Feb 16, 2009 5:34 pm   Post subject: RE:Mock CCC (WCC)

That is excellent!

The junior questions are a bit easy though. Finished the first two questions.
Keep it up though, there are great! Very Happy
DanielG




PostPosted: Mon Feb 16, 2009 6:14 pm   Post subject: RE:Mock CCC (WCC)

congrats, none of the juniors in our school got past question 2 (Sadly).
Crazymik3




PostPosted: Mon Feb 16, 2009 7:02 pm   Post subject: RE:Mock CCC (WCC)

Awesome, I'm going to download these and give them a shot to practice for the CCC.
Sponsor
Sponsor
Sponsor
sponsor
A.J




PostPosted: Mon Feb 16, 2009 7:10 pm   Post subject: Re: Mock CCC (WCC)

k, since we do have people interested, how about I make the deadline next Saturday then?

I'll give people the time to finish up their solutions and pm them to me....or email them to me at : amleshjayakumar (at symbol) yahoo.ca (email me preferably)

Good luck!


chili5 wrote:

That is excellent!

The junior questions are a bit easy though. Finished the first two questions.
Keep it up though, there are great! D


thanks for the compliment! danielG and I did take a lot of time making these questions.
do u want to email me your solutions so that I can check them?
chili5




PostPosted: Mon Feb 16, 2009 8:57 pm   Post subject: RE:Mock CCC (WCC)

Great, I sent you my first two. I'll hopefully have a working #4 tomorrow. I am almost there! Smile
A.J




PostPosted: Mon Feb 16, 2009 9:59 pm   Post subject: Re: Mock CCC (WCC)

i dont have a java compiler...........so can u send them to me as a txt document so that i can see your code (cuz i cant open what u sent me as a text document for some reason)


good job though!
chili5




PostPosted: Tue Feb 17, 2009 6:31 am   Post subject: RE:Mock CCC (WCC)

Yeah, opening Java files in notepad doesn't work the greatest. :confused:

Thanks, got 2 more to do those were fun! Very Happy
DemonWasp




PostPosted: Tue Feb 17, 2009 8:09 am   Post subject: RE:Mock CCC (WCC)

Opening .java files in notepad works just fine, except that many editors use the simple \n endline character, while notepad expects \r\n because it's dumb. Sadly, there's no real way to tell it to be smarter. Try opening the file in a real editor (cough, Vim) and you'll have no such trouble.
A.J




PostPosted: Tue Feb 17, 2009 3:43 pm   Post subject: Re: Mock CCC (WCC)

I just clarify that you can submit your solutions how many ever times you want (until u get it right, anyway....)

I am glad people are liking these questions!

If you liked the questions, could you spread the word?

thanks Very Happy
chili5




PostPosted: Tue Feb 17, 2009 5:54 pm   Post subject: RE:Mock CCC (WCC)

The actual CCC questions specify a name of the input file that is expected to be used. How about you add that, to make it seem more real? Smile
Display posts from previous:   
   Index -> Contests
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 5  [ 64 Posts ]
Goto page 1, 2, 3, 4, 5  Next
Jump to:   


Style:  
Search: