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

November Cook-Off rating calculation

When will rating changes occour for November Cook-Off?@admin@vijju123

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


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

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

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


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

BUGCAL - Editorial

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

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


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


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

doubt in calculating expectations

i had recently learned expectation in math and trying to solve : https://www.codechef.com/problems/RRPLAYERi read the editorial and able to understand it but i want to know where my approach is...

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


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

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


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