Back to General discussions forum
Hey everyone! I really enjoy this site so far, I've been having fun going through the problems. What I've noticed though (and I'm still going through the beginner problems, I am kind of a beginner in C#) is that my answer is correct on the first try (except one problem) however sometimes my solution doesn't match up with what they had recommended.
I feel this is a great learning experience for anyone new to programming as there is more than one way to get to a solution, and by seeing what they recommend and what others have posted gives me a good idea of different ways to solve a given issue. I'm not sure if anyone else is experiencing this, or if I'm "doing it wrong" but I thought I'd just put that out there.
I have fallen in love with programming and am looking to pursue a future in development, and have been blessed to be able to work with our developer at work on some projects, so any help I can get to increase my knowledge or problem solving skills I am glad to take it. Thanks to the creator of this site!
Hi! Thanks for your message!
You are right, for most of the problems the site do not enforce or require some specific solutions. Some basic problems could be even solved with calculator or pencil-and-paper :)
However some of advanced problems have their input data or answer requirements arranged in such a way, that only some whimsical approach could be used (for example because any other ways could not finish in any reasonable time). :)
The only thing probably really important about your solutions right now is that it would be convenient to read input data from standard input, rather than embed them into your code. For example see this solution or this one.
The main idea is that running such solution you will be able to "copy" input data from the problem page and then "paste" it into your input console for the program.
This may become very convenient when the size of input data grows larger. If my explanation is bit too vague, you probably may ask your colleague to show you how this trick is performed. Hope this may help :)
>I have fallen in love with programming and am looking to pursue a future in development
Ah, the same had happened to me about 15
years ago, and yes, this became my career... So your words make me
feel quite nostalgic... :)
Thanks for your post again - and Good luck, may your dreams come to reality in a year or two!