Template code for competitive programming

Hi Codechef Community,

I’ve written a blog post which might help newbies to boost up their speed during the contests. The post is regarding the template code I use in coding contests. The template code really helped me many times. So, I want to share it with you all.

Blog-post covers the following sub-topics:

  1. Macros and typedef
  2. Most frequently used functions and constants

Link - https://gocodergo.wordpress.com/2019/07/09/template-code-for-competitive-programming/

Explore the blog. Don’t forget to subscribe it if you like the post because I will keep posting super cool stuff on my blog.

Thanks,
joe001

12 Likes

thanks for this article .its really helpful

1 Like

I am glad you liked the article.

1 Like

Thankyou so much :-))

1 Like

I hope codechef don’t consider copying templates as plagiarism…

2 Likes

For newbie Java Programmers
Here

I personally feel since java doesn’t include the concept of macros you should stick to a plain and simple template which helps you in fast input and output.

Also people coding in java generally use some good popular IDE’s (for me it is IntelliJ IDEA) which provides you with a good amount of auto-completion and with some practice it becomes quite handy and fast.

1 Like

There is no need of any special IDE, I code in notepad or ideone.