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

editorials not updated completely

when will the editorials of the toughest 3 problems of NOV-13 challlenge be updated ?? Also when will the ratings be updated...when it gets delayed soo much all the interest goes off :(

View Article


segment tree implimentation

void seg_ment(int node,int b,int e){ if(b==e){ segment_tree[node]=A[b]; } else{ int left=2*node,right=2*node+1; seg_ment(left,b,(b+e)/2); seg_ment(right,(b+e)/2 +1,e); int...

View Article


Help with segment trees - query processing

Hello all,I am now attempting to solve the problem FLIPCOIN in the practice section, medium difficulty level.I am aware that a naive solution gets TLE... However, I also know that some sort of segment...

View Article

need guidance in sums in triangle problem

hi i have been working on sums in triangle problem http://www.codechef.com/problems/SUMTRIAN i don't want to see the solutions i just want to know the basic approach behind it so that i can solve it...

View Article

Next Magic Number

The given problem is simple but even though couldn't solve it.Can someone help me with following problem...'4' and '7' as Magic numbers. The numbers containing only magic numbers are also magical....

View Article


Lucky Palindrome of November LunchTime

I am doing Lucky Palindrome question of November Lunch. http://www.codechef.com/LTIME06/problems/PALINDRI passed it for two sub task but then getting TLE. Editorial says we should use treap for...

View Article

SUPERPLN - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONAt each step Dunno is in some city at some time. If Roly-Poly lives in this city and the start time of the birthday party is not less than the time...

View Article

Longest increasing subsequence

Hey I have tried to implement a dp solution. There's a little mistake which I can't figure out. Care to help me? #include <iostream> #include<algorithm> using namespace std; int main() { //...

View Article


Image may be NSFW.
Clik here to view.

MONOPLOY - Editorial

PROBLEM LINK:PracticeContestAuthor:Utkarsh LathTester:Tom ChenEditorialist:Ajay K. VermaDIFFICULTY:Medium PREREQUISITES:Heavy light decomposition, Binary index tree, Segment tree, Caterpillar...

View Article


more problems of ZIO style

Does anyone know about a source of problems of ZIO style?? I mean some more problems like the ones,that come in the paper pen test

View Article

Distribute Candies

I can't submit my code because it says 'wrong answer'.I have myself tried many test cases and my code didn't give wrong answer for even one of them.I would like to know that whether there really is any...

View Article

Access denied on problems page (Dec 13)

@admin I am not able to access some problems in DEC 13 challenge. Please fix this issue.

View Article

Difference between %I64d %lld

Many of my submissions resulted in WA when i used %I64d rather got AC when i used cin for scanning them , anyone tell me the difference . Even many solutions got TLE when i used cin , got AC by...

View Article


guidance needed

I have solved few practice problems..I m very glad as I m feeling I m improving....still I need a better guidance how to use this platform much better way so that I can be better prgrammer.....thanks

View Article

Rectangular Queries problem was rejudged?

Was the Rectangular Queries problem from December long contest rejudged? My solution got AC at start and it changed to TLE afterwards... Now when I submit the same solution it still gets TLE.

View Article


New Rule in LONG contest

The following rules:The score that you will see during the contest will only be partial (obtained on 20% of the test data).The submissions will be re-judged at the end of the contest to get full score...

View Article

Image may be NSFW.
Clik here to view.

Ambiguous Permutations - explanation

http://garakchy.blogspot.com/2013/12/my-c-solution-to-codechef-permut2.htmlsome explanation: 1 - use 1-based array 2 - think of inverse permutation as bijection function 3 - create inverse(Y)...

View Article


Ambiguous Permutations - Explain the statement

I have been trying to understand the meaning of the problem statement of Ambiguous Permutations for some time. But I still haven't been able to figure out what are the various types of permutations...

View Article

Add a Row After Setting DataSource to Datagridview

I had lost of question related to datasource binding of datagrid I had a DatagridView to which i am setting DataSource from a listList<Myclass> li = new List<MyClass>(); MyClass O = new...

View Article

bug on december challange

when i am on the december challange problems page:site said: "You are not authorized to access this page." but i am authorized? what is problem?

View Article
Browsing all 39796 articles
Browse latest View live


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