×

# Getting started here, questions about strategy, etiquitte, etc.

 14 29 Hi guys. I've just started here, I have a few questions about how I approach this place. Firstly, let me just say that wow - some of the problems here are pretty difficult, even for easy! Alright, so I've just bunch of the questions in the FAQ, here's a few more. What's the etiquette for posting here? For example are 'I'm working XYZ practice problem, I've got TLE error, here's my code, what should I do?' questions ok? What's the general strategy for solving problem, or doing time optimization? Are there any tools that you use? Like, one of the things I can see that would be problematic, is when you get a 'wrong answer' but you don't know what the 'expected vs output' is. Is this just something you need to deal with as a programmer, to think of the corner cases yourself? Is there any way to get additional test data? How do you organise your code chef files in your IDE? For example, your class name (in Java) must called Main, and it can't be part of any package, when you paste in to the submitter, otherwise it'll give you an error, wondering how people deal with that. code reusablity - I get the feeling that a lot of this is going to be using various appropriate algorithms. What I would tend to do is import the package that contains the algorithm. But given that the submission has to be a single file with no non-native imports, is the only thing you can do, is copy the code in for each algorithm? Where would you start in terms of first problems to solve? For example I would suggest doing the Enormous Input test as one of your first problems. . asked 07 Dec '12, 03:10 196●3●5●9 accept rate: 0%

12345 ... 7next »

 24 Welcome to codechef! You have written your question very nicely :) So I don't think you would have any etiquette problem. Just try your best to solve before asking. And you can not ask for help about a live problem. It will take some time, and lots of practice for you to discover strategy. But you will enjoy it! And yes you have to think about corner cases yourself. This is challenging, but you will appreciate it later. It improves you as a programmer. No. You can create your own test cases though. I code in C++. And I don't use IDE, so I can't answer this. Submissions are single file only, so you have no option but to copy-paste. You can look at EgorK's code to see how to write Java code. Start solving easy practice problems. As many as you like. And then move onto medium and harder ones. And start competing in monthly challenges as soon as you can. Best of luck :) answered 10 Dec '12, 12:50 3.6k●11●32●49 accept rate: 18%
 4 I can't answer your java related queries but for rest other things you should definitely check out http://discuss.codechef.com/questions/855/what-kind-of-comment-should-i-post-on-the-problem-page Also http://discuss.codechef.com/questions/1022/how-to-use-this-forum There's no way to get additional test data unless admins provide it.But that has never happened. For your 6th question read this very nice answer by betlista here http://discuss.codechef.com/questions/3154/a-newbie-can-anyone-help-me I hope this helps :) answered 10 Dec '12, 03:12 457●2●7●13 accept rate: 0%
 3 Hey I am new to this site. I am in school now(in grade 9 (Germany)).Can i participate? And IF I would win how would i get the prizes? Thanks for all replies. And how could you enter a Team ? Cheers answered 28 Jan '16, 00:52 2★nuboro 71●3 accept rate: 0% 2 codechef will contact you if you won cash prize then it will be paid through paypal and there is delivery system for goodies (once in a month). glad to see that you are starting soon (or asking for left sibling) but i appreciate what you wrote. (14 Sep '16, 08:28)
 2 hi there, im new to coding. im physics graduate and wanna be a professional programmer. answered 31 Oct '16, 21:37 11 accept rate: 0%
 0 for those who code in JAVA, i cant say anything about algo and DS because you have to do it by self but for format:- if your class if public then class name must be "Main". otherwise you can name your class whatever you want. But if your class if public and class name is not Main then you will get compile time error :( . and for input output if you are using BufferedReader class then be careful about "space" and "newline" because BufferedReader ignore space but terminate at "newline" it is better to use Standard input output class at any competitive site because it is customized according to input format. You can take it from any where or from my submissions its good it terminate at space,newline,etc. $welcome$ $to$ $JAVA$ $world$ $:)$ answered 10 Aug '15, 23:14 5★admin123 1.2k●11 accept rate: 28%
 0 i want to become a good programmar i wish codechef helps me in taking me to higher level answered 28 Jan '16, 22:34 1 accept rate: 0% yes they do.they have practice saction for that (14 Sep '16, 08:29)
 0 Hi I m new to this place. I m studying b.tech IT. One of my senior told me to create an register in codechef and I m so happy to join here. Can someone tell me how can I practice I mean from where to start? answered 17 Feb '16, 19:05 1 accept rate: 0% i don't know u'r level but start easy practice problems if u feel comfortable then move to mid level and take part in contests (14 Sep '16, 08:30)
 0 Hi, I had C++ as my basic programming course during my first year of under graduation. I want to brush up my basics of C++ and want to get started in programming.Please sugges MOOCs or any online material that will be helpful to me. answered 22 Feb '16, 14:09 0★krishnaa 1 accept rate: 0%
 0 I am a student right now but i love to code.I can easily do my class 9th programs.I love coding,so i have joined codechef.Please help me code even better,so that i can become a good coder. answered 10 Mar '16, 20:05 1 accept rate: 0%

# include<stdio.h>

void main() { int i; i=9; }

0★joker619
1
accept rate: 0%

12345 ... 7next »

 toggle preview community wiki

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Tags:

×212
×181
×164
×45
×9