NZEC error in java in FARASA
I am new to the concept of Fast Fourier Transformation. So I looked up at the codes of few very good coders like Ankit Shrivastava. In the solution of Ankit Shrivastava with solution link :...
View ArticleKINGSHIP - Editorial
PROBLEM LINK:PracticeContestAuthor:Shiplu HawladerTester:Tasnim Imran SunnyEditorialist:Lalit KunduDIFFICULTY:SIMPLE-EASY PREREQUISITES:Connected GraphTreePROBLEM:Connect all the N(<=10^5) cities to...
View ArticleHow to read a big XML file in JAVA and Spilt it into small XML files Based on...
Hi , I am new to JAVA programming and Parsers, now I in need of JAVA program to read a big XML file that containing .. tags. Sample input as follows. Input.xml <row>...
View ArticleSUBMIN-Editorial
PROBLEM LINK:PracticeContestAuthor:Lalit KunduTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hoc, StackPROBLEM:Given an array A of size N, support the...
View ArticleCOTA - Editorial
PROBLEM LINK:PracticeContestAuthor:Shiplu HawladerTester:Tasnim Imran SunnyEditorialist:Lalit KunduDIFFICULTY:MEDIUM-HARD PREREQUISITES:GraphsDynamic ProgrammingMatchingShortest PathPROBLEM:There will...
View ArticleTWODOGS-Editorial
PROBLEM LINK:PracticeContestAuthor:A Surya KiranTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hocPROBLEM:Given a list of integers A and an integer k, pick...
View Articlemarblegef DOUBT..
i did this problem http://www.codechef.com/problems/MARBLEGF using segmented tree concept..but i am getting tle...editorial say to use fenwick tree concept......But i came to know both fenwick tree and...
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 ArticleLEMOVIE-Editorial
PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:Easy-MediumPREREQUISITES:Dynamic programming, CombinatoricsPROBLEM:Given an array A of...
View ArticleFIRESC, wrong answer
my solution is not working although it is working on the small size input . could someone tell my what is wrong ? I am using disjoint sets data structure.
View ArticleWHY TLE ???
Was trying to solve http://www.codechef.com/problems/KAN13C . but its giving TLE though it almost matches with the codes submitted with AC. eg-http://www.codechef.com/viewsolution/3104494. AND here is...
View ArticleWord Counting wrong answer
http://www.codechef.com/problems/WCOUNT/using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace WordCounting { class MainClass {...
View Articlemarblegef wrong answer..PLSS HELP
i am getting wrong answer for this..my test cases work perfectly...i used segmented tree concept...its been 3 days i am behind the same problem....pls help...thanksmy solution is here...
View ArticleDRGHTS-Editorial
PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Depth first traversalPROBLEM:Given a forest with N nodes, where...
View ArticleSegment tree
Was studying segment tree from http://www.geeksforgeeks.org/segment-tree-set-1-sum-of-given-range/but was uanble to figure out as why- ""int getMid(int s, int e) { return s + (e -s)/2; }"". Here the...
View ArticleReporting Cheating Cases
This is not a ques, but a request to all the people who want to report cheating cases. You all are most welcome to report such cases, but this is not the place to do it. You need to mail ne such cases...
View ArticleCOT5 editorial : Count on treaps , Feb challenge , is it posted ?
Is the editorial for COT5 ( Count on treaps ) , Feb challenge , posted . If posted please give a link . If not posted , @admin by when will it be posted .
View ArticleCOLARR-Editorial
PROBLEM LINK:PracticeContestAuthor:Dmytro BerezinTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:EasyPREREQUISITES:Ad-hoc, SortingPROBLEM:We are given a list of N cells, and a...
View ArticlePaying Up, answer is wrong
All kinds of test cases are giving the right output but when i submit it , it always shows "wrong answer"can anyone tell me whats wrong??#include <algorithm> #include <iostream> #include...
View Article