How can i submit solutions to previous contests?
Is there a way by which one can submit solutions to earlier contest?
View Articleatm problem
can anyone tell me what is wrong with this code?include<stdio.h>int main() { int mon; float amt,final; //printf("\n enter the amount to be withdrawn"); scanf("%d",&mon); //printf("\n enter...
View ArticleAMIFIB - Editorial
PROBLEM LINK:PracticeContestAuthor:Vineet PaliwalTester:Roman RubanenkoEditorialist:Jingbo ShangDIFFICULTY:EasyPREREQUISITES:Fibonacci Property, Quick Sort, Offline Algorithm, Hash, Binary...
View Articleonp :getting wa help !!
getting correct ans on my pc compiler of question link text bt showing wrong ans on codechef . please help ..code is in c languageinclude<stdio.h>int main() {int n,i,j,top=-1;char...
View ArticleLEMOVIE - Editorial
PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:Easy-MediumPREREQUISITES:Dynamic programming, CombinatoricsPROBLEM:Given an array A of...
View ArticleCHSEQ22 - Editorial
PROBLEM LINK:PracticeContestAuthor:Roman FurkoTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:Easy-MediumPREREQUISITES:Connected componentsPROBLEM:We are given an array of N...
View ArticleLCPESY-Editorial
PROBLEM LINK:PracticeContestAuthor:ShipluTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:CAKEWALK PREREQUISITES:Ad-hocPROBLEM:Given two alphanumeric strings, find the number...
View ArticleLCPESY : Getting WA
Please help me find what is wrong with this code`#include<stdio.h>define size 10000define ascii 123int main(){ int t,j; char a[size]; char b[size]; int a1[ascii],b1[ascii]; long long int...
View Articlemy code for longest common pattern(Problem code: LCPESY)......it is showing...
include<string.h>include<stdio.h>int main() { char a[10000],b[10000];int t; scanf("%d",&t); while(t>0) { int flag=0;scanf("%s",&a); scanf("%s",&b); for(int...
View Articlemy code for longest common pattern(Problem code: LCPESY)......it is showing...
//#include<iostream>include<string.h>//#include<math.h>include<stdio.h>//using namespace std;int main() { char a[10000],b[10000]; //int rslt[100]; int t; //cin>>t;...
View ArticleHow does one know that Greedy approach is correct ?
How to know that Greedy approach is wrong in some cases. Is there any general proof to check whether it's correct or not.How does one know that it's correct to apply Greedy approach in a given case.For...
View ArticleSPOJ SAMER08F
I solved this question using the standard formula, but i want to solve this question using dynamic programming as i am newbie. Problem Link: http://www.spoj.com/problems/SAMER08F/ could anyone suggest...
View Article"I SPY YOU" WRONG submission
Ques. : http://www.codechef.com/problems/CD202/firstly,i want to know how this submission got ac?http://www.codechef.com/viewsolution/608472input : ezezezezeoutput: ezezcorrect output : ezezeCorrect me...
View ArticlePRIME1: pc's terminal prints correct output, SPOJ shows "Time Limit...
EDIT: was able to identify the fault (still didn't fix the whole thing, so not sure), but the I increment the i inside the loop, which should cause some false primevectors, not sure how it worked on my...
View Articleforgot password WA
plz can anyone point out the error...http://ideone.com/mIzKFy i spent lot of time over it..(>_<)totally frustrated....
View Articlelarge data in C++
I am not an awesome coder and not really an algo guy.But love coding small stuff....I have been trying out hands on competitive coding and been facing problems with handling large data. My codes solve...
View Articleeditorials of old practice problems
is there any way to see the editorials of practice problems of code chef.secondly if i want to solve problems related to a particular topic for eg dynamic programming how can i find all problems...
View ArticleBinary Search
Do you want to know about Binary Search? Do you want a right place to learn it? Open the link given below and get a right place :) My second blog post:...
View ArticleStalkCoder - Codechef chrome extenison
Hello Everyone,While in a contest we all are keen to see other users' progress in that contest, so keeping this in mind I have made a chrome extension which lets you stalk( or follow ) other handles (...
View ArticleWhy most of the Python Code receives TLE ????
Most of the code written in Python receives TLE . I think Codechef should increase Time Limit for Python users.
View Article