Quantcast
Browsing all 40121 articles
Browse latest View live

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

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


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

chef and strange matrix

i have submitted it twice please help with it(WA).http://www.codechef.com/viewsolution/3900502 All i am doing is checking that the input is correct or not.the ans is only affected by increase of last...

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


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


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

COMPILER - Editorial

PROBLEM LINK:PracticeContestAuthor:Bruno OliveiraTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY PREREQUISITES:AD-HOC PROBLEM:Given a bracket sequence, print the length of largest prefix...

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

CHEFBM - Editorial

PROBLEM LINK:PracticeContestAuthor:Dmytro BerezinTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY PREREQUISITES:AD-HOC PROBLEM:There is a N * M matrix, where A[i][j] is j for all i,j. There...

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

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


RR Stone CONSTRAINTS

How to handle the CONSTRAINTS in Codechef?? I am solving RRSTONE problem, everything looks fine from my side like logic and all. but it is saying WA. DO we programmers need to take care that the...

View Article

Prime Palindrome HELP Part 2-Time Exceeded

Okay so the program is working, however I suppose it's too slow for the submissions liking. What would you do to make it faster? Use a class, inline functions, etc.include <cstdio>int...

View Article

Getting WA in C++ but AC in Python.

Please dont suggest to check the algorithm carefully because, I know my solutions are correct since when implemented in python I got AC.But still unable to get AC for chef-jumping and rrstone in...

View Article
Browsing all 40121 articles
Browse latest View live


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