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

ANOTHER SHORT CONTEST

It is good to see codechef hosting another short contest("Lunch Time June 2013") in the same month, that too on sunday afternoon, I hope they add it permanently to the schedule. Thanks Codechef this...

View Article


wrong answer.. whats wrong june cook off 2013

Link to my Prob is Lyra and Alethiometer

View Article


ALETHIO - Editorial

Problem Link:PracticeContestDifficulty:EasyPre-requisites:ad-hocProblem:You are given a string of digits 0-9, and uppercase letters 'A'-'Z'. Given that you are allowed to modify atmost one letter to...

View Article

WA words1 - play on words

hey.. m getting wa for words1 .. i tried many cases.. couldn't find one giving wrong ans.. please help me with ths.. thank you..! here the linkhttp://www.codechef.com/viewsolution/2294378

View Article

Feast for Python lovers

Hey Friends!!! and my fellow Python lovers this is to inform you that Python Indian Community is re-hosting the well awaited Indian version of Python Conference (PyCon 2013) on August 30, 31 &...

View Article


Why is Python 2.7 missing in this problem?

In the problem GCD2 I found that Python 2.7 is missing from the Judge. Why?

View Article

NZEC error in Sums in a Triangle - Python 2.7

I wrote the following code for the problem Sums in a Triangle. It is working in my computer but here on codechef I am getting NZEC. The input isn't that big then why this error?import sys from...

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


time limit exceeded problem plz help

import java.util.Scanner; class cc { public static void main(String args[]){ long n,x,k; int c=0; Scanner input =new Scanner (System.in); n=input.nextLong(); k=input.nextLong(); while(n>0){...

View Article


Runtime error in spread

Problem LinkSOLUTION LINK CAN any one help me to find out why i m getting Runtime error i my code it is easily readable and understandale please read and try to help me

View Article

Coin Game: Strategy

I have an interesting problem via some other programming platform but I could not get its solution. What should be the strategy for this question.(Note: It does not comes from any running programming...

View Article

Is it necessary that a file created in text mode must always be opened in...

thanks a lot.

View Article

Cheating proofs in june long!

@admin : This june contest i found out some cheating proofs =>Check out these 2 solutions : first and secondUsers ranked 16 and 16 in june contest are a/c of same user.

View Article


How is this a bad approach?

I was solving Product of Divisors problem and I was runtime error. Let the error issue be kept apart. Someone advised me to go through the Editorial for the practice problem. I was curious to know that...

View Article

First k digits of n^n

It is related to problem :http://www.codechef.com/problems/MARCHA4 where we are supposed to find first and last k digits of n^n. To find first k digits i have seen people using some log and floor...

View Article


What kind of problems are easier to solve in Python?

Now, since Python is really gaining reputation among competitive programming also. What are some particular types of problem that are easier to code in Python compared to C++/JAVA?

View Article

marcha4:I am getting wrong answer though I checked all the corner cases

http://ww2.codechef.com/viewsolution/2134008 this is my code

View Article


Image may be NSFW.
Clik here to view.

TRIQUERY - Editorial

Problem Link:PracticeContestDifficulty:MediumPre-requisites:line-sweep, rank-query DSProblem:Given N points (Xi, Yi), and Q queries (x, y, d), find for each query how many of the N points lie within or...

View Article

Different answers for two accepted solutions!!MARCHA4

Here is a question Link:link textI found two Accepted solutions :one this First User And Second my Own:meI checked A test case on both the codes: Both were getting different answers on same case.. Here...

View Article

[SPOJ] LQDNUMS

Does anyone know how to solve this problem? http://www.spoj.com/problems/LQDNUMS/Or at least please give me the references for it. Thanks a lot in advance.

View Article
Browsing all 40121 articles
Browse latest View live


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