wrong answer help, new to codechef
Can anybody please help me with the input test case for which the code at http://www.codechef.com/viewsolution/3002163 is giving wrong answer? New to codechef.
View ArticleCAOS3-Editorial
PROBLEM LINK:PracticeContestAuthor:Kaushik IskaTester:Jingbo ShangEditorialist:Ajay K. VermaDIFFICULTY:EASY-MEDIUMPREREQUISITES:Sprague-Grundy theorem, Dynamic programmingPROBLEM:Two players are...
View ArticleZonal Informatics Olympiad 2012 problem
I have been unable to solve a problem which was given in the Zonal Informatics Olympiad 2012 paper. The problem is given below along with the link to the page where you can view the question paper and...
View ArticleCollege wise Codechef ratings- please see this site
Guys please check out this awesome site. You can add your code chef username and it will display rankings of users from your college. Please add your college if it is not present and then add usernames...
View ArticleSEAVEC rejudge...
Has SEAVEC been successfully rejudged or is it still in process? Can @admin please verify this?
View Articlefactorial ques fctrl : this code is running in my system but giving an error...
#include<stdio.h> int main() { unsigned long n,i=0,num=0; scanf("%lu",&n); while(n--) { i=0; scanf("%lu",&num); while(num) { i+=num/5; num/=5; } printf("%lu",i); } return 0; }
View Articlequestion query
can anybody explain me please why this code is giving TLE my code is running in O(nlog(n)) for the specified problem http://www.codechef.com/problems/SNON08include<stdio.h>define MAX...
View Articlefinding problems for practice
hello friends i like all of u to suggest me some problem on codechef which can help me in undersatanding graphs,string,trees in a better manner so that by solving those problem i can grow up my command...
View ArticleSTADIUM.. cant understand
i cannot understand the queston thatwhat is to be done in this... please respond quick..Problem 1: The Siruseri Sports Stadium, (K Narayan Kumar, CMI) The bustling town of Siruseri has just one sports...
View ArticleThe lead game (TLG) solution error
I am just teaching myself C++ programming and I was wondering if someone could critique this solution and tell me why it gives a wrong answer. For small solutions it gives the correct answers in my...
View Articleeditorials not updated completely
when will the editorials of the toughest 3 problems of NOV-13 challlenge be updated ?? Also when will the ratings be updated...when it gets delayed soo much all the interest goes off :(
View ArticleCollegewise Ranking Plugin
How to add the College-wise ranking plugin in chrome?Whenever, I download the .crx file, it says "apps, extensions, scripts cannot be added from this website".
View Articlegame theory practice
can anyone give me some tutorial or something for solving misere games in game theory...i have been struggling with the ques related to it...and cant find anything suitable online... thanks in adavnce
View Articleinput file
How to handle the input file provided in programming contests(like facebook hacker cup)? specifically talking about file handling in c++..
View ArticleCheating in ACM Amritapuri online contest.
https://www.hackerrank.com/rest/contests/amrita13/challenges/blurry-vision/hackers/codemates2/download_solutionhttps://www.hackerrank.com/rest/contests/amrita13/challenges/blurry-vision/hackers/code_sc...
View ArticleCodechef Discussion:How to tag and close questions ?
How to add tags to others' question and how to close questions which are no longer active or already correctly answered and answer accepted? Do these require some extra permissions ? I searched but...
View Articlec++ new standards
I am getting this error. It is my first submission at CodeChef. I have however eliminated conio.h and is using iostream and have also included "using namespace std;".prog.cpp: In function ‘int main()’:...
View ArticleHoles in the text problem(Please tell me why this code is not working)
#include<iostream> #include<iomanip> #include<string.h> int main() { int i,len=0,count,test,j; char a[101]; cin>>test; for(j=1;j<=test;j++) { cin>>a;...
View ArticleHOLES IN TEXT
this code runs well for given test case ....but gives runtime error.Please help#include<stdio.h> int main() { char b[20]; int i=0,c=0,t=0; scanf("%d",&t); while(t--) { c=0; i=0;...
View ArticleQuestion/Answer community vs Typical threaded discussion forum?
How is a Question/Answer community different from a typical forum?
View Article