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

Cook35 Rating Issue

i was able to successfully solve one question(ATTIC) from last night's Cook35. but strangely once the rankings were upgraded, i fell by almost a 1000 ranks and my rating decreased as well. how is that...

View Article


Small Factorials - C Code working on PC but wrong answer on codechef

For the problem Small Factorials I wrote the following C Code. It is working on my PC. I cross-checked the answer for 100! with a Python Script so answer is correct. I don't have any idea why this is...

View Article


wrong answer.. whats wrong june cook off 2013

Link to my Prob is Lyra and Alethiometer

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

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


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

Approach to become Good Programmer.

I really want to know that whats the ideal approach for becoming a good programmer? Whats the secret to solve the Codechef questions? Any External links, online tutorials, e-books are welcome. ANY help...

View Article

calculating memory usage ?

Is there a way to calculate the memory consumed by my program in linux ? What method does codechef use to get the memory used, can I do that on my pc ? I read something about bsd-process-management,...

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

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

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


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


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

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


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

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

ATTIC problem

Can u tell me whats wrong with the code below , the code is accepted but giving an execution time of 2.53 sec ! How can i optimize it ? Provide some tips !int main(){ int t ; cin>>t; getchar();...

View Article
Browsing all 39796 articles
Browse latest View live


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