Run Time Error using Sieve
hey...i am getting Run time error.....plzz...help...though using Sieve my code is include<iostream>include<math.h>using namespace std; int main() { int a,b,c,i,j,k,d,u; float...
View ArticleWhat's going wrong? Please help.
vector< vector<int> > adj; // vector of vectors adj vector< vector<int> >::iterator it; for( it = adj[node].begin(); it != adj[node].end(); ++it ); // line xyz { int val =...
View ArticleWhy is it giving WA for NAME1 , when using string class, and AC with char array
the problem statement here... http://www.codechef.com/MAY13/problems/NAME1and my code using string class .. http://www.codechef.com/viewsolution/2134447 (WA)my code using char array .....
View ArticleFIRESC Problem WA. Any help will be appreciated.
Please help . Getting Wrong answers for even test case!!! link to my code -> http://ideone.com/lU40Sl
View ArticleBluetooth Programming in Java
I want to code a Java program which will interact with my PC's bluetooth adapter and subsequently and input which I give through my program will be sent to another remote bluetooth device through my...
View ArticleCHEFGAME - Editorial
PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Hiroto SekidoEditorialist:Anton LunyovDIFFICULTY:MEDIUMPREREQUISITES:Prim's algorithmPROBLEM:The best described in the problem statement.QUICK...
View ArticleHow to increase our Karma
as the faq says if we wants to unlike and the rest we need some points known as karama. how can we increase our karama in our account???
View ArticleHow to delete my CodeChef user name / account
I would like to delete my CodeChef user name/ account, please let me about the same ?
View ArticleAMXOR - Editorial
Problem Link:PracticeContestDifficulty:MediumPre-requisites:Dynamic ProgrammingProblem:Given a sequence of positive integers a[1], a[2], a[3], ..., a[N], find how many sequences of nonnegative integers...
View ArticleAMSGAME2 - Editorial
Problem Link:PracticeContestDifficulty:SIMPLEPre-requisites:Dynamic ProgrammingProblem:Given a sequences of N positive numbers A[0], A[1], ..., A[N-1], find how many subsequences of the integers are...
View ArticleMSTICK- WA
implenting basic segment tree..cross checked many times..still getting wrong answer..pls help where am i doing wrong..? here is my code's link-.http://www.codechef.com/viewsolution/2172202
View ArticleWhat are badges?
Can you explain me about badges? How do I earn more badges? How are badges different from karma points?
View ArticleCOUNTREL - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONPart 1 closed form: (3^n+1)/2 - 2^nPart 2 closed form: 2*4^(n-1) - 3^n + 2^(n-1) + 2^n - (3^n+1)/2 The answer (for both 1 and 2) is in the form of a...
View ArticleWhen should I comment & when shouldn’t I ?
I am always confused on what are the best situations where I should comment or rather post an answer for it. Admin, Can you please explain?
View ArticleDo I get karma for commenting?
Will commenting on a post give me any karma? If no, then why?
View ArticleCan other users edit my posts?
I see my posts being edited by some users. I have doubt if other users can edit my posts. Is it possible?
View ArticleWhy are some questions closed?
I see some questions in the questions list as closed. If I navigate to a closed question, I don’t see a textbox for answering that question. Also what if I want to reopen the question?
View ArticleCan I promote a product or a website here?
I have a website to promote, Can you help me with its promotion? Am I allowed?
View ArticleWhat if I don't get a good answer?
I strive hard to ask a question, but I don’t any satisfactory answer for it. Can you please explain what should I do to get a good answer?
View ArticleWhat if I see bad things happening?
I am seeing a lot of spam posts with no action being taken about it. Also I am seeing a lot of random discussions and problem solving strategies being discussed here during a contest. Can I do...
View Article