Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

Alternating Colored Paths - Editorial

Problem Link:ContestPracticeAuthor:Saurabh HotaTestor:Rajat DeEditorialist:Rishav PatiDifficulty: Easy Topics: Depth First Search, CountingProblem:- Given a tree of size $n$ ($1 \le n \le 10^5$) with...

View Article


improving program execution time

do recursive programs are less time taking than iterative ones??

View Article


Why do I get a SIGSEGV?

Why I am getting a runtime error SIGSEGV in the problem? Where I am going wrong?

View Article

How can i solve the problem?

There are an interesting problem https://community.topcoder.com/stat?c=problem_statement&pm=2384&rd=4755Here is the tutorial...

View Article

TEST - Editorial

PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/OutputPROBLEM:Rewrite small numbers from input to output. Stop processing input...

View Article


QPAIR - Editorial

PROBLEM LINK:PracticeContestAuthor:Lalit KunduEditorialist:Animesh FatehpuriaDIFFICULTY:MediumPREREQUISITES:Segment TreePROBLEM:Given a sequence $P$ of $N$ pairs of integers and $Q$ queries of the form...

View Article

BWCELL - Editorial

PROBLEM LINKPracticeContestPanel MembersProblem Setter:Sunny AggarwalProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...

View Article

What are karma points?

I am new to this karma system, Can you explain me why is it called so? What has karma points got to do with contribution?

View Article


SMPLSUM - Editorial

PROBLEM LINK:PracticeContestAuthor:Kirill ShchetininTester:Istvan NagyEditorialist:XellosDIFFICULTY:EASYPREREQUISITES:Factorisation using the sieve of Erathostenes.PROBLEM:You're given many values of...

View Article


KCONNECT - Editorial

PROBLEM LINKPracticeContestPanel MembersProblem Setter:Sunny AggarwalProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...

View Article

Can anyone help me in finding the bug/bugs?

I tried almost 4 hours trying to find the bugs in my solution to the problem -SPOJ Problem.It is a simple Lazy-Propagation Sum Queries problem.Here's my Code - CODE

View Article

How do I use unordered_map?

I have been using maps a lot lately.Recently I tried unordered_map. I simply took the same syntax. But changed the declaration to 'unordered_map' instead of 'map'.I shows compilation error. What is the...

View Article

How to solve that?

I am trying to solve https://community.topcoder.com/stat?c=problem_statement&pm=2384&rd=4755My code is here http://pastebin.com/Y1GtwPg8My solution fails in last two given test cases . how to...

View Article


QMAXTRIX - Editorial

PROBLEM LINKPracticeContestPanel MembersProblem Setter:Amit PandeyProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...

View Article

TREEPROD - Editorial

PROBLEM LINKPracticeContestPanel MembersProblem Setter:Amit PandeyProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...

View Article


Third contest of the IPC's ICPC Programming Series is re-scheduled

We hope you are enjoying our #IPCProgrammingSeries. With 2 out of the 3 contests scheduled in the first leg over, we know you must be eagerly waiting for the 3rd one, which was scheduled for today....

View Article

Editorial for IPC151B?

Why there is no Editorial for IPC151B contest? I could only see Editorial for QPAIRS question but what about rest?. I appreciate the quality of questions but there need to be editorial for us to learn.

View Article


Dynamic Programming

How to improve in Dynamic Programming? They sometimes seem a lot more different than other problems before looking out into solution, but once after a glance at the solution, the problems look easy....

View Article

Error in Horrible Queries problem

I am unable to find the bug in my code for the implementation of segment tree problemhttp://ideone.com/3bV9eZ

View Article

Third contest of the IPC's ICPC Programming Series re-scheduled

We hope you are enjoying our #IPCProgrammingSeries. With 2 out of the 3 contests scheduled in the first leg over, we know you must be eagerly waiting for the 3rd one, which was scheduled for today....

View Article
Browsing all 39796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>