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

Not a triangle

I am getting WA for the question:http://www.codechef.com/problems/NOTATRI/ Anyone plz. explain where i am wrong.Thnx. My code: http://www.codechef.com/viewsolution/2213497

View Article


PRBLEM IN NOTATRI

one of the practice problem have struct me off http://www.codechef.com/problems/NOTATRI here is the problem link i jst checked the solution and found that if we sort the array first check as array is...

View Article


SPOJ Problem:Great Ball

HiIn http://www.ahmed-aly.com/ the SPOJ Problem: Great Ball is stacked under Segment Tree. I have solved this problem using a separate algorithm, but as I am learning Segment Trees currently, I was...

View Article

how to solve funny marbles by BIT (Fenwick trees)

I confess that i have not at all being able to get binary indexed trees. I browsed through number of tutorials(topcoder,codeforces,etc)but i didn't get it still.It would be great if someone can explain...

View Article

CURRENT CONTEST RANKINGS doesn't work well

If I browse ranklist page by page several times, it just stops. My browser is chrome 28

View Article


Problem With Max Limit of n.

PRPALIN For this question, i have pasted my solution below. I am getting correct output for all values of n <100000 after that i am not getting correct answer. Can someone help me out.Solution...

View Article

LISA problem unsolved..

import java.util.Scanner; import java.io.*; class lisa{ public static long list[]; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new...

View Article

my program satisfies all test conditions but still it throws wrong...

// CODE REMOVED(LIVE CONTEST)

View Article


Is it just me or do the rankings of a contest just disappear when you click...

The "Current Contest rankings" just disappear when i click on the India tab , or the next button. Is this a bug with the website, or should I use a different browser? I am on Firefox right now.

View Article


KMHAMHA - Editorial

PROBLEM LINK:PracticeContestAuthor:Kaushik IskaTester:Jingbo ShangEditorialist:Ajay K. VermaDIFFICULTY:EASY-MEDIUMPREREQUISITES:Vertex cover, König's theorem, Hopcroft–Karp algorithmPROBLEM:Given a set...

View Article

Shaastra 2014 ::Good Boy Eshwar Problem Solution

Can someone please explain the solution to the problem Good Boy Eshwar asked in SHAASTRA-2014 contest?.

View Article

important figures of programming world

i feel obliged to open this topic. cuz i think, most coders here for sole reason: coding. and coding has its ethics imho. i would love to mention, some pioneers names, who has gone behind the borders...

View Article

Question about resubmission

Regarding the long contest, could you tell me how exactly you can resubmit a solution ? Is it enough just to submit again ? Because when I go through the accepted submissions and click "show" on mine,...

View Article


Is there any Machine Learning Guy ?

Hi i want to get in touch with some machine learning guys working on JAVA and web products , please mail me on saurabhwelldo@gmail.comregards, Saurabh

View Article

Finding number of average elements

The question is to find the number of average elements in an array .(http://opc.iarcs.org.in/index.php/problems/AVERAGE) I know that this can be made efficient but I wanted to try to code the NxNxN...

View Article


Doubt in Cleaning Up

http://www.codechef.com/viewsolution/3188690

View Article

Counting The Important Pairs probelm solving

Hi All,//edited (live contest)my code is located at //removedI am a new user to codechef can any one please suggest me what are thing we must take care while coding. I have seen most of the submissions...

View Article


how to reduce compilation time in C ??

I am getting TLE in my program .. using for loops 2 times & it is showing TLE..how to optimize my algorithm?? plz help

View Article

Runtime Error(SIGSEGV)

CODE IN C RUNNING CORRECTLY IN DEV BUT IN THIS Runtime Error(SIGSEGV)#include<stdio.h> int main() { char s[20]; int i,cnt=0,n,j; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%s",s);...

View Article

Doubt regarding Little Elephant and Bombs

This is the solution i've submitted. It successfully runs on my computer and shows the correct output.But here it tells that the answer is wrong.Can anybody explain me the reason for that

View Article
Browsing all 40121 articles
Browse latest View live


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