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

Help in IPCTRAIN

i am unable to understand author's solutionlink to the problem:-https://www.codechef.com/problems/IPCTRAINhere is the author's...

View Article


StopStalk: Tool to maintain your algorithmic progress

Hello Coders,Hope you are having a great time coding hard. Here I present to you a Utility tool - StopStalk which will encourage you to keep your algorithmic progress going by coding with your friends...

View Article


Chef and his software - TSECJ05 - Editorial

PROBLEM LINK:Chef and his softwareAuthor:Yogesh MalpaniEditorialist:Yogesh MalpaniDIFFICULTY:MEDIUM.PREREQUISITES:ArrayList, Binary Search, HeapPROBLEM:Given the values of N transactions, the task is...

View Article

BUGCAL - Editorial

PROBLEM LINK:PracticeContestAuthor:Trung NguyenTester:Oleksandr KulkovEditorialist:Oleksandr KulkovDIFFICULTY:CAKEWALKPREREQUISITES:NonePROBLEM:You're given two numbers. Sum them up without...

View Article

GEEK04 - Editorial

Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Bhuvnesh JainEditorialist:Bhuvnesh JainDifficultyMEDIUMPrerequisitesRecursion, Bitmasks, Dynamic Programming.ProblemFind the minimum time taken to...

View Article


write a program to generate unique substrings(contains only unique...

please suggest efficient solution.

View Article

Teams Selected for Amritapuri and Kanpur

How do you plan to travel between Kanpur (24th Dec) and Amritapuri(26th Dec) ?

View Article

Skiing unofficial editorial november cook off

problem:SkiingRecursive easy problemSolution: we have to find minimum no of boxes(let it be set S), such that i can visit any other box in grid by choosing any starting box from that set S. For getting...

View Article


Awesome resource for DS and Algorithms

Hi everyone,i just want to share this link which consists of all the links and resources on different topics of Competitive ProgrammingData Structures and...

View Article


D2D - Editorial

Problem Link:ContestPracticeAuthor:Parth TrehanEditorialist:Parth TrehanDifficulty:Easy-MediumPrerequisites:Graph Theory, BFSProblem:We need to traverse a graph from node 1 to node N. Some nodes of the...

View Article

MACHO - Editorial

Problem Link:ContestPracticeAuthor:Parth TrehanEditorialist:Parth TrehanDifficulty:SimpleProblem:Count the number of pairs that can be formed holes in a character and the number of pairs of non-hold...

View Article

DAD - Editorial

Problem Link:ContestPracticeAuthor:Parth TrehanEditorialist:Parth TrehanDifficulty:Easy-MediumPrerequisites:DP,MathsProblem:Given N number of enitities, we need to find the number of ways those...

View Article

Getting TLE - Please Help!!!

Problem:- DIGJUMPPlease help me in optimizing this code which uses BFS to find the shortest distance between start and end vertices.My code:- Solution

View Article


cf 447 div2 Ralph And His Magic Field

i have understood the formula for it but i am unable to understand that when k=-1 and n and m have different parity the answer will be -1 but for k=1 answer will not be -1 why?problem

View Article

Zco 2018 pblm 2

I want someone to explain the algorithm clearly for zco question no 2 and explain me how does algorithm give answer to this input. U re allowed to make 1 change 12 cakes,5 children 0 based indexing The...

View Article


THENDO - Editorial

Problem LinkContestPracticeAuthor:Sahil RajputTester:Sahil RajputEditorialist:Sahil RajputDifficulty EasyPrerequisites MathsProblem The points can be vertices of regular N-polygon, if, and only if, for...

View Article

If anyone came to know about the ACM ICPC Onsite Regional Contest...

If anyone came to know about the ACM ICPC Onsite Regional Contest Schedule, then please share!!!

View Article


UVa 11283 - Playing Boggle

ProblemMy solutionI can't understand why my solution is giving WA even I tried random cases with a AC solution (on github)

View Article

Solving SEACO with normal segment tree

How to solve SEACO using normal segment tree? Thanks!

View Article

Java Input

how to accept inputs on same line on console in java??? Plz help..

View Article
Browsing all 40121 articles
Browse latest View live