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

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

Company Hiring

Found this question on web An array consists of number of employees required for each month. ‘Hire’ is the cost of hiring an employee and ‘serv’ is the cost of removing an employee and ‘sal’ is the...

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


division modulo

what will be the ans of ( (10^9 + 9)/6 ) % (10^9 + 7) and ( 2/6 ) % (10^9 + 7)

View Article

Whats the next procedure after selection for Chennai Onsite? Where to confirm...

Please post any updates you get here.

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


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


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