Posted: 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)
Posted: 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
Posted: Mon Feb 16, 2009 10:06 am Post subject: Re: Mock CCC (WCC)
thanks
yes, turing is definitely allowed
And, yes, the questions are slightly hard.......I am sorry , but danielG and I meant to make them a bit harder than the actual CCC
saltpro15
Posted: 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
endif
endfor
put: output, redcounter
put: output, bluecounter
I can't run it to see if it works I think it's right though
A.J
Posted: 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 , 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
chili5
Posted: 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!
DanielG
Posted: 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
Posted: 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
A.J
Posted: 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
Posted: 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!
A.J
Posted: 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
Posted: 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!
DemonWasp
Posted: 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
Posted: 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
chili5
Posted: 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?