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

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

Unofficial Editorials November Long Challenge (Part 2)

Hello GuysI have divided problems into posts according to difficulty. Hope u all don't mind this. ;)This is the part 2 of two posts of unofficial editorials for November Long Challenge.For editorials...

View Article


WSITES01 - Editorial

Problem LinkPracticeContestAuthor:AzatTester:Pawel Kacprzak and Misha ChorniyEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesTries, State TransitionsProblemYou are given a list of websites,...

View Article

Image may be NSFW.
Clik here to view.

SKIING - Editorial

Problem LinkPracticeContestSetter:Hasan JaddouhTester:Amr MahmoudEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesStrongly Connected Components, Bfs / DfsProblemFind the minimum number of...

View Article


Does threading really work's in speeding up our solution. (Trying for a hack...

I don't know much about threading. I just want to ask does using threading technique make our solution faster.

View Article

@vijju123 @utkarsh1997 Prompting the user to fill the already created linked...

@vijju123@utkarsh1997I'm trying to fill the already created linked list by traversing the linked list and then fill each node data with the user input but for some reason after 1040 times it stops...

View Article


need optimization help..

//Developer : ruhul1995 || Time : 00:58 AM ||Date : 23/11/2017 //how to optimize this code..... i want the program to execute value of 10 power 6 and give the value for fibanacci and factorial...please...

View Article

Please help me in RECEPIES

Can anyone take a look on my code? It gives me correct output, no idea why codechef says W/A. I was tring my best to make this code readable. Thanks!Cutting Recipes Problem Code: RECIPEIt's Python...

View Article

Beginner/NITIKA - python 3.5 - need some help

Hello guys! Could you please tell me what's wrong with my code? It looks to work well, but CodeChef says my answer is wrong.Thanks!My solution / Problem link

View Article
Browsing all 40121 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>