diff --git a/app/views/home/getstarted.html.erb b/app/views/home/getstarted.html.erb index 80c6c5b..663198a 100644 --- a/app/views/home/getstarted.html.erb +++ b/app/views/home/getstarted.html.erb @@ -9,7 +9,7 @@

How To Get Started

-

Competitive Programming is an interesting activity which mixes problem solving with programming. It is not only enjoyable but also very demanded in placements. Competitive programming will make you very good at writing efficient programs quickly. If you get really serious with competitive programming, it will make you an expert in data structures and algorithms.

+

Competitive Programming is an interesting activity which mixes problem-solving with programming. It is not only enjoyable but also very demanded in placements. Competitive programming will make you very good at writing efficient programs quickly. If you get really serious about competitive programming, it will make you an expert in data structures and algorithms.


@@ -25,10 +25,10 @@

Learn a programming language

-

Any programming language will do. But most problems are set with C/C++ and Java programmers in mind, so knowing any one of them will be really helpful.You don't need to know really advanced concepts, like classes or generics/templates. You should just know if/else, loops, arrays, functions and have some familiarity with the standard library, like math functions, string/array operations and input/output.If you know only C, you can easily start. But at some point of time (especially when you reach advanced stages), you'll need features which most languages have but C does not. Learning C++ is very easy if you know C. I'll suggest that you start out with C and learn C++ in parallel with competitive programming.Even if you are not confident of your skills in a programming language, you can (and should) still start. Competitive programming is also a good way to practice a new language you have learned.


+

Any programming language will do. But most problems are set with C/C++ and Java programmers in mind, so knowing any one of them will be really helpful. You don't need to know really advanced concepts, like classes or generics/templates. You should just know if/else, loops, arrays, functions and have some familiarity with the standard library, like math functions, string/array operations and input/output. If you know only C, you can easily start. But at some point in time (especially when you reach advanced stages), you'll need features which most languages have but C does not. Learning C++ is very easy if you know C. I'll suggest that you start out with C and learn C++ in parallel with competitive programming. Even if you are not confident of your skills in a programming language, you can (and should) still start. Competitive programming is also a good way to practice a new language you have learned.


Making the first step

-

You'll find problems on many websites.Most websites will give you a specification and ask you to write a program implementing that. You will then have to submit your code. Your program will be automatically compiled and run and you'll be told whether it ran correctly or not. Such websites are known as online judges. You will find many online judges on the internet. Here is a small list of the most popular ones:

+

You'll find problems on many websites. Most websites will give you a specification and ask you to write a program implementing that. You will then have to submit your code. Your program will be automatically compiled and run and you'll be told whether it ran correctly or not. Such websites are known as online judges. You will find many online judges on the internet. Here is a small list of the most popular ones:

-

You should stick to just one (or maybe two) online judges when you start.Most online judges have problems categorized by difficulty levels. For each difficulty level, easier problems generally have more submissions. So you can sort problems based on number of submissions to find the easiest ones.For beginners, I recommend Codechef. If you have never before solved a problems on an online judge, you can begin by solving the easiest problem on Codechef - Life, the Universe, and Everything.


+

You should stick to just one (or maybe two) online judges when you start. Most online judges have problems categorized by difficulty levels. For each difficulty level, easier problems generally have more submissions. So you can sort problems based on theĀ number of submissions to find the easiest ones. For beginners, I recommend Codechef. If you have never before solved a problemĀ on an online judge, you can begin by solving the easiest problem on Codechef - Life, the Universe, and Everything.


Practice

-

Remember that it is very important to practice. Try to solve at least one or two questions everyday.It is helpful if you stay in touch with people who do competitive programming regularly. This will keep you motivated.Often while practicing, you will not be able to solve some problems. Do not give up easily! Keep trying! But sometimes even after trying for hours, we are not able to solve it. In those cases, it is advisable to look at the editorials. Editorials are step-by-step explanations on how to solve a problem. Often you'll find new innovative ways of solving problems on reading them. So sometimes you should read editorials even if you have been able to solve a problem.Sometimes reading editorials is not enough to understand how to solve a problem. This is usually the case when you know how to solve it but you are not able to express your ideas as code easily. When that happens, you should try looking at others' code. Some online judges make other people's code public (like Codechef) while some don't (like SPOJ).


+

Remember that it is very important to practice. Try to solve at least one or two questions every day. It is helpful if you stay in touch with people who do competitive programming regularly. This will keep you motivated. Often while practising, you will not be able to solve some problems. Do not give up easily! Keep trying! But sometimes even after trying for hours, we are not able to solve it. In those cases, it is advisable to look at the editorials. Editorials are step-by-step explanations on how to solve a problem. Often you'll find new innovative ways of solving problems on reading them. So sometimes you should read editorials even if you have been able to solve a problem. Sometimes reading editorials is not enough to understand how to solve a problem. This is usually the case when you know how to solve it but you are not able to express your ideas as code easily. When that happens, you should try looking at others' code. Some online judges make other people's code public (like Codechef) while some don't (like SPOJ).


Contests

-

Once you solve 15 to 20 problems, you should occasionally take part in programming contests. Many websites host contests regularly.Codechef has 3 monthly contests - Long challenge, Cookoff and LunchTime. Long Challenge has 10 questions to be solved in 10 days. You should try to solve as many questions as you can (without taking hints from others). Cookoff has 5 questions to be solved in 2.5 hours. Regularly taking part in Cookoff and trying to perform better in it will increase your speed.You should not be disheartened if you are able to solve only one or two questions. This is natural when starting out. As you get better, you'll be able to solve more and more. If you are not able to solve any question, you should contact a senior and he/she will help you.When you have solved more than 50 to 75 problems, you should also start solving problems on Codeforces and taking part in Codeforces' contests. This is one of the sites where the most serious programmers of the world can be found.


+

Once you solve 15 to 20 problems, you should occasionally take part in programming contests. Many websites host contests regularly.Codechef has 3 monthly contests - Long challenge, Cookoff and LunchTime. Long Challenge has 10 questions to be solved in 10 days. You should try to solve as many questions as you can (without taking hints from others). Cookoff has 5 questions to be solved in 2.5 hours. Regularly taking part in Cookoff and trying to perform better in it will increase your speed. You should not be disheartened if you are able to solve only one or two questions. This is natural when starting out. As you get better, you'll be able to solve more and more. If you are not able to solve any question, you should contact a senior and he/she will help you. When you have solved more than 50 to 75 problems, you should also start solving problems on Codeforces and taking part in Codeforces' contests. This is one of the sites where the most serious programmers of the world can be found.


Compilers

-

If you have Linux or Mac, I would advise you to use:gcc for C g++ for C++ javac for Java (both oracle and openjdk are good). If you are on windows, you might want to use an IDE. Code::Blocks is good for C and C++. Some online compilers are also available. The most well known is ideone. Codechef has an online compiler called code-compile-run.


+

If you have Linux or Mac, I would advise you to use:gcc for C g++ for C++ javac for Java (both Oracle and OpenJDK are good). If you are on windows, you might want to use an IDE. Code:: Blocks is good for C and C++. Some online compilers are also available. The most well known is Ideone. Codechef has an online compiler called code-compile-run.


Standard library

-

You can often benefit a lot from the rich standard libraries offered by most programming languages. After gaining sufficient experience with a programming language, it is advisable to sift through its software libraries to see what all does it offer.For C/C++, these are good reference sites: - cppreference.com, - cplusplus.com's reference, - For Java/Python(3.+) users, - Python library reference, - Java library reference. - Some people realize very late that C++ offers a sort function. This is one of the most used functions in competitive programming. - And of course,Google is always there. - For any other query Stckoverflow may be able to help you out.


+

You can often benefit a lot from the rich standard libraries offered by most programming languages. After gaining sufficient experience with a programming language, it is advisable to sift through its software libraries to see what all does it offer. For C/C++, these are good reference sites: cppreference.com, cplusplus.com's reference. For Java/Python(3.+) users, Python library reference, Java library reference. Some people realize very late that C++ offers a sort function. This is one of the most used functions in competitive programming. And of course, Google is always there. For any other query, StackOverflow may be able to help you out.


Expert Advice

-

30 day challenge for newcomers on hackerrank

+

30-day challenge for newcomers on HackerRank

How to get started on Codechef

Topics

@@ -112,7 +104,7 @@ @@ -205,14 +197,14 @@
  • Get Started Blog Hackerearth
  • -

    Algorithm Visulaizations

    +

    Algorithm Visualization

    diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index d0be1bc..a16632a 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -21,10 +21,9 @@
    -

    RECursion NIT Durgapur is an initiative to embolden the budding coding minds through regular Code Classes, robust coding competitions and geeky sessions.
    - Pioneered by a faction of enthusiast in 2014, RECursion has continued to evolve ever since.Besides a fancy placement package, We seek to ameliorate participation in programming competitions like ACM ICPC etc.
    - Our dynamic panel is invariably available to sort any techie doubts and cultivate positivity in you. We intend to create an intriguing ambience where coding is more of a mind sport and after every green tick the Coder in you gets bigger and wittier. - So if you have those bits hovering over your head 24*7, RECursion is your Solution!
    +

    RECursion NIT Durgapur is an initiative to embolden the budding coding minds through regular Code Classes, robust coding competitions and geeky sessions.
    + Pioneered by a faction of enthusiasts in 2014, RECursion has continued to evolve ever since. Besides a fancy placement package, we seek to ameliorate participation in programming competitions like ACM ICPC etc.
    + Our dynamic panel is invariably available to sort any techie doubts and cultivate positivity in you. We intend to create an intriguing ambience where coding is more of a mental sport and after every green tick, the Coder in you gets bigger and wittier. So if you have those bits hovering over your head 24*7, RECursion is your Solution!

    "Coding is a Choice, not a Compulsion.
    When you are doing it, just do it with a smile." diff --git a/app/views/home/team.html.erb b/app/views/home/team.html.erb index 5b87419..9f5aff3 100644 --- a/app/views/home/team.html.erb +++ b/app/views/home/team.html.erb @@ -144,9 +144,9 @@

    - +
    -
    Samadrita Sarkar
    +
    Shreya Saha
    Senior Coordinator
    @@ -181,15 +181,6 @@

    -
    -
    - -
    -
    Shreya Saha
    - Senior Coordinator
    -
    -
    -

    @@ -247,7 +238,7 @@
    @@ -267,7 +258,7 @@
    @@ -275,7 +266,8 @@ Shrija Mishra
    B.Tech. in Computer Science & Engineering
    Experience:
    -


    +

    SDE at Microsoft (Jul 2017 - Present)
    + SDE Intern at Microsoft (May 2016 - Jul 2016)

    @@ -288,7 +280,7 @@
    @@ -296,7 +288,8 @@ Parakh Bansal
    B.Tech. in Computer Science & Engineering
    Experience:
    -

    Intern at IIT Kharagpur (May 2016 - Jun 2016)

    +

    SDE at ZS Associates (Jul 2017 - Present)
    + Intern at IIT Kharagpur (May 2016 - Jun 2016)

    @@ -307,7 +300,7 @@
    @@ -317,7 +310,7 @@ Experience:

    Software Engineer at FactSet (Jun 2017 - Present)
    Data Engineer Intern at Suphalaam Technologies (May 2016 - Jul 2016)
    - Research Projrct at NIT Durgapur (Jan 2016 - Feb 2016)
    + Research Project at NIT Durgapur (Jan 2016 - Feb 2016)
    Application Developer at National Informatics Center(May 2015 - Jul 2015)

    @@ -331,7 +324,7 @@
    @@ -351,7 +344,7 @@
    @@ -359,7 +352,7 @@ Rashmi Arya
    B.Tech. in Information Technology
    Experience:
    -

    +

    SDE at NRI Fintech (Jul 2017 - Present)

    @@ -372,7 +365,7 @@
    @@ -393,7 +386,7 @@
    @@ -415,7 +408,7 @@
    @@ -436,7 +429,7 @@
    @@ -458,7 +451,7 @@
    @@ -483,7 +476,7 @@
    @@ -491,7 +484,8 @@ Gaurav Chandak
    B.Tech. in Information Technology
    Experience:
    -

    Senior Software Engineer at Tracxn (Jun 2016 - Present)
    +

    SDE at Microsoft (Feb 2018 - Present)
    + Senior Software Engineer at Tracxn (Jun 2016 - Jan 2018)
    SDE Intern at Verse Innovation Pvt. Ltd. (May 2015 - Jul 2015)
    SDE Intern at InsideView (May 2014 - Jul 2014)

    @@ -504,7 +498,7 @@
    @@ -512,7 +506,9 @@ Archit Srivastava
    B.Tech. in Information Technology
    Experience:
    -

    SDE Intern at Microsoft (May 2015 - Jul 2015)
    +

    MS in CSE, University of Southern California (2016 - Present)
    + Intern at Facebook, California (2017)
    + SDE Intern at Microsoft (May 2015 - Jul 2015)
    Columnist at The Zine (Nov 2013 - 2014)
    Co-Founder & Creative Investigator at FindAWay (Oct 2013 - 2014)

    @@ -527,7 +523,7 @@
    @@ -548,7 +544,7 @@
    @@ -556,7 +552,8 @@ Piyush Agarwal
    B.Tech. in Information Technology
    Experience:
    -

    Technical Member at Arcesium (Jul 2016 - Present)
    +

    Senior Software Developer at Arcesium (Feb 2018 - Present)
    + Technical Member at Arcesium (Jul 2016 - Jan 2018)
    SDE Intern at D.E. Shaw India Pvt. Ltd. (Jun 2015 - Jul 2015)

    @@ -570,7 +567,7 @@
    @@ -589,7 +586,7 @@
    diff --git a/app/views/questions/show.html.erb b/app/views/questions/show.html.erb index 13c4c0e..22f69fa 100644 --- a/app/views/questions/show.html.erb +++ b/app/views/questions/show.html.erb @@ -106,7 +106,7 @@

    <%= form_for(answer) do |f| %> - <%= f.cktext_area :description ,:as => :ckeditor, id: answer.id , input_html: {:ckeditor => {:toolbar => 'mini'}}, required: ""%> + <%= f.cktext_area :description ,:as => :ckeditor, id: "edit-answer-box-#{answer.id}" , input_html: {:ckeditor => {:toolbar => 'mini'}}, required: ""%>
    @@ -305,7 +305,8 @@ $(document).ready(function(){ var answerId = parseInt(id.match(/\d+/)[0]); console.log(answerId); - var e = CKEDITOR.instances[answerId.toString()]; + var editor_id = 'edit-answer-box-'+answerId.toString(); + var e = CKEDITOR.instances[editor_id]; var dat = e.getData(); console.log(dat);