Guessing Game
This is my code in c++ for Guessing Game,plz help me as it gave wrong answer on codechef:-include<iostream>include<string.h>using namespace std; long int t,n,m; long int c; int rs1[100000];...
View ArticleTWOCOMP - Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey KulikTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:HardPREREQUISITES:trees, max flow, bipartite graphs.PROBLEM:There is a country with N cities....
View ArticleDIGJUMP cheating case
two solutions same in contest problem http://www.codechef.com/viewsolution/4083994http://www.codechef.com/viewsolution/4083993two solutions by two DIFFERENT USERS matching character by character and...
View Articlehow to know failed test cases
Hello,I have submitted 3rd problem(FORGETPWD) in June long contest,It is not working got WA May i know for which test cases it failed Regards Samuel
View ArticleDARTS - Editorial
PROBLEM LINK:PracticeContestAuthor: Istvan NagyTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:CHALLENGE PREREQUISITES:expectation value, random strategies.PROBLEM:The problem is an...
View ArticleFORGETPW, June challenge 2014; Ambiguous test case
(reference FORGETPW)In this problem, For a test case, 0000.000 its clear that the output is 0 bcoz its value =0.But how does the shortest representation for the test case '.' (decimal point) become 0....
View ArticleWA in MAXPR...plz help
I'm getting WA in MAXPR repeatedly...Plz tell me where my algorithm is wrong...And for test cases it is giving WRONG ANSWER....Soln link:-- http://www.codechef.com/viewsolution/4107416Soln link in...
View ArticleMAXPR - Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:EasyPREREQUISITES:dynamic programming, simple combinatorics.PROBLEM:Given an array A. You have...
View ArticleDIGJUMP - Editorial
PROBLEM LINK:PracticeContestTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:EasyPREREQUISITES:bfs, dijkstraPROBLEM:Given a string s of N. You have to go from start of the string(index 0) to...
View ArticleGUESS - Editorial
PROBLEM LINK:PracticeContestAuthor:Lalit KunduTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:SimplePREREQUISITES:ad hoc, simple combinatorics.PROBLEM:You are selecting two numbers x and y...
View ArticleFUNC - Editorial
PROBLEM LINK:PracticeContestAuthor:Vivek HamirwasiaTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:MediumPREREQUISITES:number theory, binary searchPROBLEM:You are given an array A. You are...
View ArticleFORGETPW - Editorial
PROBLEM LINK:PracticeContestAuthor:Gedi ZhengTester:Shiplu HawladerEditorialist:Praveen DhinwaDIFFICULTY:Simple PREREQUISITES:processing of strings and arrays.PROBLEM:Given a string s, You have to...
View Articlewhich language to learn for making apps etc
i already have thorough knowledge of c++ but c++ is not that helpful in making apps so can anyone please guide me on which language to prefer which is commonly used for making apps . i know for making...
View ArticleIs answering like this allowed ? Possible copying ?
April challenge 2014 marked the beginning of my Competitive programming journey.Since I am new to this - it took me quite a bit of time to figure out the CNPIIM code but finally when I did - my soln...
View ArticleNZEC RUN TIME ERROR
MY program is compiling on my laptop at netbeans and giving me write answer But while i submitting same code at codechef it gives me runtimeNZEC ERRORHERE IS link: http://www.codechef.com/problems/FGFS...
View Articlecheating june 2014
have been previously banned by admin in MAY contest because i have been found by someone ragarding cheating case of only 2 questions.So i make a new account.I follow my collegemate Himesh Kumar...
View ArticleTransform the Expression - WA
#include <stdio.h> #include <ctype.h> int main() { int t; scanf("%d", &t); while(t--) { char expression[400]; expression[0] = '\0'; scanf("%s", expression); char operatorStack[400];...
View ArticleCNPIIM - Editorial
PROBLEM LINK:PracticeContestAuthor:Bruno OliveiraTester:Shiplu Hawlader and Mahbubul HasanEditorialist:Lalit KunduDIFFICULTY:EASY PREREQUISITES:Number Theory PROBLEM:Find number of 2X2 matrices such...
View Article