Quantcast
Browsing all 39796 articles
Browse latest View live

When does my rating and rank get updated?

This was the first time I took part in a CodeChef competition. When I go to my account, my rank is NA and rating is 0. Below that is written Oops! We didn't find any country code for you. So is...

View Article


RRSTONE ERROR EVEN THOUGH THE CODE IS CORRECT!

SEE my code for RRSTONE,Its working very well but why codechef is showing wrong result!!!include<stdio.h>include<stdlib.h>int main() { long int n,k; long int max=0,i=0,j=0;...

View Article


Chef and Strange Matrix

Hi, On the contest time, I've submitted this problem many times, but got WA every times... :(Would anybody please tell me, for which case my code is failed ??? Here is my ideone code

View Article

Need resources for Dynamic programming

Any one please suggest good resource for Dynamic programming and of course some practise problems

View Article

Please give a test case where my code fails for compilers and parsers

[http://www.codechef.com/viewsolution/3876116] the above link is the code where i had written in java

View Article


chef and strange matrix wrong answer

http://www.codechef.com/viewsolution/3898907 what is wrong in it

View Article

Scoring problem with the Challenge problem (ANUMFS)

As you can see from the last submissions for the Challenge problem of MAY'14 long contest (ANUMFS), both me and @aawisong submitted solutions which scored an absolute score of 0 (yes, that means we got...

View Article

OJUMPS - Editorial

PROBLEM LINK:PracticeContestAuthor:Dmytro BerezinTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:CAKEWALK PREREQUISITES:AD-HOC PROBLEM:Chef is at x=0. 1-jump: he will move from x -> x + 1...

View Article


chef and strange matrix wrong answer is there any way to see which tst case...

Thanks for all your work, really fun to participate, even if I miss of bandwidth. I'll like to understand why my code fails with WA, so is it possible to get the test case which failed? submission...

View Article


LEBALONS - Editorial

PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY-MEDIUM PREREQUISITES:Combinatorics, Dynamic Programming, Probability PROBLEM:Given N ballons, i'th...

View Article

LEBALONS Getting WA

I am getting WA for the problem. I have absolutely no idea why, whole contest I tried this problem :( Can anyone help? Here's my code.

View Article

Prime Palindrome HELP WRONG ASNWER

I really don't understand why my answer is wrong, it works just fine for me. Could someone please help?http://www.codechef.com/viewsolution/3900410

View Article

RRSTONE - Editorial

PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:SIMPLE PREREQUISITES:AD-HOC PROBLEM:K times, following operation is done on a array A1,A2...AN:...

View Article


chefbm wrong answer

why am i getting wrong answer http://www.codechef.com/viewsolution/3900322 please give some test case

View Article

Image may be NSFW.
Clik here to view.

FUNAGP - Editorial

PROBLEM LINK:PracticeContestAuthor:Devendra AgarwalTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:HARD PREREQUISITES:Binary Indexed Trees/Segment Trees Mathematics and Number Theory...

View Article


Chef and Strange Matrix

http://www.codechef.com/viewsolution/3898256I'm getting runtime error but the code is running properly on my codeblocks (probably because I'm not entering very large values)... Since I'm new here, can...

View Article

SEAGM - Editorial

PROBLEM LINK:PracticeContestAuthor:Sereja NaginTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:MEDIUM PREREQUISITES:dynamic programming, 2 player games, basic understanding of gcd.PROBLEM:Given n...

View Article


Compilers question May challenge

Probably the simplest code.All I am doing is what would you do with a stack. Giving wrong answer code -#include <stdio.h> int main(void) { int testcases; int i,count_left,count_right,max; char...

View Article

Chef and Strange Matrix

What's wrong with the following code?http://www.codechef.com/viewsolution/3900513It is giving me WA. #include <stdio.h> int main() { long long int n, m, p, i, j, total_cost, cost; scanf( "%lld...

View Article

why i am getting wrong answer for CHEFBM ques

include<stdio.h>include<stdlib.h>struct sort { long long int a; long long int b; };long long int compare(struct sort *p , struct sort * q) { if(p->a != q->a ) return ( p->a -...

View Article
Browsing all 39796 articles
Browse latest View live


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