Invitation to Coder 2015 (BITS-Pilani)
I would like to invite you all to Coder 2015 jointly organized by Computer Science Association and Information Systems Association, BITS-Pilani, as a pre-Apogee event.The contest will be held on...
View ArticleHow to minimize a string.Cook 56
http://www.codechef.com/viewsolution/6570234 Can anyone please explain where my solution is failing. I can't figure it out myself.
View Articlescudiv spoj - getting wrong answer
please help why this code wrong answer on spoj ....include<bits stdc++.h="">using namespace std;define omax 23define nmax 81define INF 1000000003typedef long long LL;struct cylinder { int ovol;...
View Articlehelp in remember the recipe practice(easy) twstr
Please can anyone help me in finding the possible reason of my solution getting tle? http://www.codechef.com/viewsolution/6573074
View Articleplease help with this code snip print is not working
script.py board=[] for i in board: board.append(['O','O','O','O','O']print board
View ArticleGetting SIGFPE runtime error (Not dividing by zero)
Hi I am new to codechef and competitive programming today i was solving this problem http://www.codechef.com/problems/SPCANDY and i submitted my code but i am getting SIGFPE runtime error i searched...
View ArticleSTL tutorial
Here is a link of topcoder which i found very useful for the beginners have a look if you are new to programming...
View ArticleWrong answer in ONP-Transform the expression
My code inspite of generating all the test cases is showing wrong answer#include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct stack { char a[400]; int top; } stack;...
View ArticleRemove redundant parentheses from an arithmetic expression
Its a interview question. I have not been able to get any optimal solution. Can someone share the logic and code for this. (preferably in Java)e.g : ((ab)+c) should become ab+c.My logic is Parenthesis...
View ArticleHoles in the text
Unable to find the error in the program as it runs successfully and give desired result on linux terminal. But "WRONG ANSWER" is shown after submission. please help...
View ArticleBytelandian gold coin : Wrong Answer
include<bits stdc++.h="">using namespace std; int limit = 10000000; int dp[ 10000000 ] = {0}; int maximum = 0;int solve( int n ) { if( dp[n] != 0) return dp[n]; if( n < 12) return dp[ n ] = n;...
View Articlenew to programming
I am new to programming what all things i should do to be good at it
View Articlemy ques is about enormous input test..it shows run time error..plz help
include<iostream>using namespace std;int main() { long int n,k,i,count=0,t; cin>>n; cin>>k;for(i=0;i<n;i++) {="" cout<<endl;="" cin="">>t; if(t%k==0) count++; }...
View ArticleACMICL1 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL1Author:Cheral KhandediyaTester:Shubham GuptaDIFFICULTY:EASY-MEDIUMPREREQUISITES:NonePROBLEM:You have N mice. All of them eat cupcakes with...
View ArticleChallenge Hunt - All programming challenges at one place
Hi all!We all love to participate in programming challenges, don't we? The only problem is that we are often not aware about the numerous online programming challenges that happen regularly and only...
View ArticleACMICL2 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL2Author:Eklavya SharmaTester:Hasil SharmaDIFFICULTY:MEDIUMPREREQUISITES:Math, Binary exponentiation, MatricesPROBLEM:A well of depth h...
View ArticleACMICL3 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL3Author:Aditi AgarwalTester:Siddharth SahaiDIFFICULTY:EASYPREREQUISITES:SortingPROBLEM:When a person enters or exits a library, he enters his...
View ArticleACMICL4 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL4Author:Ravi Shankar PandeyTester:Shubham GuptaDIFFICULTY:MEDIUM-HARDPREREQUISITES:Longest Common Subsequence and Longest Increasing...
View ArticleACMICL5 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL5Author:Jaiwant RawatTester:Ankit SultanaDIFFICULTY:HARDPREREQUISITES:Dynamic ProgrammingEXPLANATION:For solving it we will keep track of...
View Article