Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

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 Article


Image may be NSFW.
Clik here to view.

KINGSHIP - 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 Article


How 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 Article

SUBMIN-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 Article

Image may be NSFW.
Clik here to view.

COTA - Editorial

PROBLEM LINK:PracticeContestAuthor:Shiplu HawladerTester:Tasnim Imran SunnyEditorialist:Lalit KunduDIFFICULTY:MEDIUM-HARD PREREQUISITES:GraphsDynamic ProgrammingMatchingShortest PathPROBLEM:There will...

View Article


TWODOGS-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 Article

marblegef 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 Article

LCPESY-Editorial

PROBLEM LINK:PracticeContestAuthor:ShipluTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:CAKEWALK PREREQUISITES:Ad-hocPROBLEM:Given two alphanumeric strings, find the number...

View Article


HOW TO SUBMIT A SOURCE?

see title ^

View Article


LEMOVIE-Editorial

PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Hiroto Sekido, Gerald AgapovEditorialist:Ajay K. VermaDIFFICULTY:Easy-MediumPREREQUISITES:Dynamic programming, CombinatoricsPROBLEM:Given an array A of...

View Article

FIRESC, 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 Article

WHY 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 Article

Word 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 Article


marblegef 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 Article

DRGHTS-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 Article


Segment 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 Article

Reporting 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 Article


COT5 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 Article

COLARR-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 Article

Paying 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
Browsing all 39796 articles
Browse latest View live