TOURBUS - Editorial
PROBLEM LINK:PracticeContestAuthor:David StolpTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:ChallengePREREQUISITES:Greedy, Dynamic Programming, Search, RandomPROBLEM:Given a undirected graph...
View ArticlePLZLYKME - Editorial
PROBLEM LINK:PracticeContestAuthor:Kaushik IskaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:SimplePREREQUISITES:Programming LanguagePROBLEM:Define F[1] = S, F[i > 0] = F[i - 1] * (C + 1)....
View ArticlePrize in contests
Hi all! i'm new here so, just wanted 2 noe: What are prizes/prize money for different contests in Codechef?
View ArticleCHEATING IN JANUARY LONG
Problem : MeteorAll they did was a : find and replacehttp://www.codechef.com/viewsolution/3250056http://www.codechef.com/viewsolution/3247304PS : All please read CodeChef Code Of Conduct , there is...
View ArticleSuggest new features you think should be added to CodeChef ?
I know have improved a lot by this codechef...its really awesome. But i would like to tell to the admin that codechef should improve a bit more, imean should add some more features....Such as message...
View ArticleBUY1GET1 - WA
It seems like an easy problem. But somehow, I am getting a WA. I can't seem to figure out why. Please have a look A description of my algorithm - Made two arrays A[26] and a[26] for storing the count...
View ArticleUsing scanf() for strings
I was wondering why we don't get an erroneous result when we use 2 scanf statements for accepting two strings, one after the other. The first scanf("%s",s1) statement ends when we hit a '\n'. It leaves...
View ArticleFGFS - Editorial
PROBLEM LINK:PracticeContestAuthor:Vivek HamirwasiaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:EasyPREREQUISITES:Sort, Greedy.PROBLEM:Given some sets of open intervals (exclusive at two...
View ArticleERROR - Editorial
PROBLEM LINK:PracticeContestAuthor:Vivek HamirwasiaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:CakewalkPREREQUISITES:Programming Language.PROBLEM:Determine whether the given binary string...
View ArticleA tutorial on Suffix Arrays
Hello @all,This text will focus on the construction of Suffix Arrays, it will aim to explain what they are and what they are used for and hopefully some examples will be provided (it will be mainly...
View ArticleWeak test cases for SEAGRP (Jan14 long contest)
The test cases for the problem SEAGRP are weak. Many wrong solution are being accepted which must have failed if test cases were good. One of my friend got accepted but his code giving wrong answer on...
View ArticleATM compiler c4.3.2
#include<stdio.h> int main() { float x; int y; scanf(%d",&y); scanf("%f",&x); if(y%5==0&&(x-y)>0.5) printf("%0.2f",(x-(y+0.5))); else if(y%5!=0&&(x-y)>0.5)...
View ArticleTSORT- TLE.. i tried merge sort and sorting in algorithm header
I tried merge sort. and stable_sort() bt both gives TLE. plz help.links to my submission is given.
View ArticleFRBSUM - Editorial
PROBLEM LINK:PracticeContestAuthor:Constantine SokolTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Segment Tree, Binary Search, Persistent Segment Tree.PROBLEM:Given...
View ArticleSEAGRP - Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Matching, Gaussian EliminationPROBLEM:Determine whether there is any perfect...
View ArticleTAPAIR - Editorial
PROBLEM LINK:PracticeContestAuthor:Tuan Anh Tran DangTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:HardPREREQUISITES:DFS orderPROBLEM:Given an undirected simple graph with N nodes and M...
View ArticleMTRICK - Editorial
PROBLEM LINK:PracticeContestAuthor:Nikhil GargTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:Easy-MediumPREREQUISITES:Programming Language, Simple Math.PROBLEM:Perform the "Ancient Algorithm"...
View ArticleMETEORAK - Editorial
PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Dynamic ProgrammingPROBLEM:Given a N * M matrix mat with some obstacles...
View ArticleCNTDSETS - Editorial
PROBLEM LINK:PracticeContestAuthor:Mugurel Ionut AndreicaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:HardPREREQUISITES:Combination, Inclusion–exclusion principle, Euler's...
View Articlecheating in december long
http://www.codechef.com/users/dragonslayerv2http://www.codechef.com/users/dragonslayerxThese two contenstants seem to be cheating. Exact same scores in the problems and the same order and time in which...
View Article