What skills does anybody need to solve CodeAbbey tasks?

Back to General discussions forum

LotvinSergey     2015-12-16 18:01:40
User avatar

Hello! First of all I'd like to say THANKS to the creator of the site. I'm really keen on it. But now, as I'm on 60th task I found out that I have a lack in skills - Math and Algorithms...? Well, this is my question. What shall I study to solve the tasks more efficiently? I saw that some people somehow figure out much more better way than mine - for example for King and Queen. It's like they are the scientists but (I believe) they are not. Google? Google was good for tasks before and didn't help me with "algorithm to find diagonal chess board" and some variations. Now - "Two printers". It's clear - it's Math task but how to find the formula? Develop by own, indeed? Colleagues, who can advise? Literature, science brunch, queries for Google..whatever. Share your thoughts, ideas. I would be grateful.

@Admin, I would appriciate your avdvice also!

(JAVA beginner)

Quandray     2015-12-16 18:58:30
User avatar

Hi,

I know I'm not answering your overall question, but for "Two Printers" try looking at the 3 entries on this forum about that problem. Hopefully one of them will help you.

LotvinSergey     2015-12-16 19:36:27
User avatar

Yeah, thanks for your hint. I used it and, Oh My!, I've done the task. Though I don't like my code :( Moreover, I'm not sure I understand my code :) ... I mean I understand the code but didn't get the deep sense. And I'm not sure it will work every time, maybe I was just lucky with input data.

Quandray     2015-12-16 19:45:37
User avatar

Well done, but try to read from System.in. Help...Running Your Code should show you how to do it.

Schreibicus     2015-12-16 19:52:33
User avatar

You dont necessarily have to find and use a math formula to solve "Two printers", I've tried that but in the end just emulated the entire printing process in a loop. And it seems many have done that for this problem. But for some tasks there are no such shortcuts, I believe, so my only hope is google.

Rodion (admin)     2015-12-17 15:01:52
User avatar

>I've tried that but in the end just emulated the entire printing process in a loop.

I thought it should be slow process with the values given - am I wrong?

To Oleg Hi! Keep in mind that I myself am poor enough in math and just an average programmer :) Most of the problems here mainly need proper (sometimes careful) implementation. They are intended to help people to feel more confident in average programming - not to help in becoming competitive programming guru :)

Some of them are relying on some of popular algorithms or formulas - but you can usually guess this from the tags.

Often it is quite all right to skip the problem and try the next one as they are not necessarily in the difficulty increasing order. You always can return to the skipped problems later... Sometimes one problems can give the idea for the other or at least some intuition... It was the same with me - usually I need to solve the problem before adding it to site - and sometimes I failed to invent solution at the first attempt... :)

And surely thanks for your kind words!

LotvinSergey     2015-12-20 09:04:31
User avatar

Quandray, yeah System.in is helpful but not for me. I know this tool and used in one of my solution here. But for some reason I like much more when I see input data in my source code. Somehow it's more convinient for me though it doesn't look nice.

Please login and solve 5 problems to be able to post at forum