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

no. of zeros in a factorial

#include <iostream> using namespace std; int main() { long int n,sum=0; cin>>n; long int k=n; while(k>=5) { k=k/5; sum=sum+k; } cout<<sum<<endl; return 0; } Nothing wrong here??

View Article


Code Chef API

@admin , @everyone : I wanted to develop some mobile app's for code chef ( starting with Android ) and some utilities like maybe desktop arena , statistics collector . Is it possible for Code Chef to...

View Article


using a structure

i have completed the WSTRING problem by using a structure. That works fine on my system but gives a CTE on codechef. How can i solve this problem ???

View Article

DISCUSSION FOR LEMOUSE

Please elaborate the explanation on LEMOUSE JUNE CHALLENGE 2013.

View Article

new to programming

hii am very new to c and C++ programmingi find most of the programs even in easy section tough and solutions are like alien to mewhat should i do?

View Article


NZEC error in java code for problems SUMTRIAN and SPOON

Following are the two codes that ran perfectly in my ide namely eclipse and also ran in online ide: ideone.com with correct output. However codechef gives NZEC error while there is no "division by...

View Article

Challenges

After solving a couple of challenges in long contests I would like to say that it would be really nice to have at the beginning of the contest the problem setter/tester score for that challenge...

View Article

Evaluation taking too much time!

@admin : Its taking around 2-5 min in evaluating a code ?

View Article


Why the ratings of june long contest haven't been updated yet?

Generally Ratings of users is updated within 1 day of the end of the contest. but this time it's being delayed... what's the reason?

View Article


TAKE A PICTURE

Hi everyone, I need help to create a java program to take a picture using a webcam. Thank you :)

View Article

Image may be NSFW.
Clik here to view.

Yandex.Algorithm 2013 in Saint Petersburg, Russia, $18000 in prizesEdit

In 2013 Yandex will host an open programming championship on the new Yandex.Contest system, with original rules, prizes, monetary awards and an exciting final round in St. Petersburg, Russia. But the...

View Article

small factorial

import java.util.*; import java.io.*; import java.math.BigInteger; class test { public static void main(String [] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{...

View Article

Weak test cases for TKCONVEX.

The test cases for the problem TKCONVEX are very weak. Even though the problem was rejudged during the contest, still I am able to find many solutions which fail very simple test case.8 4 1 2 3 6 6 6 6...

View Article


[closed]TAPALIN_use of MOD

please tell what is the problem in the following code.The code goes well till n=12 but gives wrong answer at n=13 as the modulo operation is not working fine.Please identify the problem :...

View Article

Ratings updated

The wait is over. Ratings have been updated

View Article


please help me with this code for Sums in Triangle

#include<iostream.h> int main() { int n,s[50]={0},n1; cin>>n; n1=n; while(n) { int t,temp; int i=0,k; int sum=0; int a[50]; cin>>t; temp=t; while(t) {k=0; while(k<t) {...

View Article

dynamic programming

i want to do practice on dynamic programming. Can some one provide me the link of dynamic programming problems .please give me the link of problems as much as possible....

View Article


cheating june challenge

By the way what was done to the cheaters ?

View Article

FCTRL2 :getting wa

please help.......i'm getting wrong answer. i don't know wats wrong with the code . Here is a link to my solutionClick here

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
Browsing all 40121 articles
Browse latest View live


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