How to use this forum?
Is there brief description how is someone supposed to use this forum?I know the basics - someone asks question, for example with problem solution and the community helps to find the answer. 0k, that's...
View ArticleNeed help to solve TSHIRTS
Please help me how to solve this question https://www.codechef.com/problems/TSHIRTS
View ArticlePayment Issue
Sadly, I am facing a dilemma.I made a big mistake and the payment for my team is still not done. I was busy with my majors and I tried doing the payment today and the SBI account didn't update the...
View ArticleUva 1047 Zones
Can anyone make a small editorial or explain me the solution of this question? Link to question: https://uva.onlinejudge.org/external/10/1047.pdf Thanks in advance.
View ArticleProcedure for changing ICPC Team composition after qualifying for Onsite round
Can someone tell me the procedure in detail about how to change icpc team composition after qualifying for onsite round. One of our college's team has qualified for Amritapuri Onsite Regionals &...
View ArticleZCO 2018 discussion
Personally I think the question were a little harder than previous years. I managed to finish in 2hrs. First problem was prefix sums+ maths Second was greedy + implementation
View ArticleHelp in debugging code in Python
Hello folks,I have implemented segment tree in python for this code.It is running in some cases and for others abort is called in build function ( I checked that by debugging in Pycharm but I couldn't...
View ArticlePERMEXIS - Editorial
PROBLEM LINK:PracticeContestAuthor and Editorialist:Lalit KunduTester:Kamil DebowskiDIFFICULTY:simplePREREQUISITES:logic, basic programming, sortingPROBLEM:You are given a list of integers $A_1, A_2,...
View ArticleONP - Editorial [Transform the Expression]
Problem Statement:LinkDifficulty: Cakewalk <--> EasyPrerequisites: Concept of Stacks, Reverse Polish NotationThe Problem:The problem finally boils down to:You are given an algebraic...
View ArticleDisjoint Set Data Structure recursive find_parent gets wrong answer
I was trying to solve "Almost Union Find problem" from Kattis. I used disjoint set to solve this problem. My problem is, I got wrong answer when I used the following recursive find_parent function in...
View ArticleONCHESS - Editorial
Problem LinkPracticeContestSetter:Hasan JaddouhTester:Amr MahmoudEditorialist:Bhuvnesh JainDifficultyEASYPrerequisitesLooping TechniquesProblemFind a suitable match for every person depending on some...
View ArticleADJLEAF - editorial
Problem LinkPracticeContestSetter:Hasan JaddouhTester:Amr MahmoudEditorialist:Hasan JaddouhDifficultyHARDPrerequisitesDynamic programming on trees, combinatoricsProblemGiven a tree, for each node i...
View ArticleWhy is there no solution visible for ICO 2018 Preparatory Series ?
When will be its solution available ?[1]: [1]: https://www.codechef.com/ICOP1804
View ArticleIs there an easier method to solve this?
I came across the editorial of https://www.hackerrank.com/challenges/two-characters/problem but found it a bit complex. So, Is there any easier method to solve this using C++?
View ArticleITERATIVE method instead of RECURSIVE one to solve SPOJ GSS1 question
I'm trying to solve the spoj GSS1 using an iterative implementation of segment trees instead of a recursive approach. I have successfully built the segment tree but I'm finding it difficult to code the...
View ArticleNOV Lunchtime Unofficial Editorial (SHUFFL)
Problem : SHUFFLHave you ever tried to solve Joshephus Problem. The problem is here : josephus. In joshephus problem we are basically removing 1 people each time by some rules indicated in the problem...
View ArticleNOV LUNCH_TIME SMRSTR Unofficial editorial
problem: SMRSTRHere we are given an array D and an array X we have to calculate : for i = 1..N: X = floor(X / D[i]) for every value of XiThe above statement can be rewritten as : X = ( ( (X / D[1]) /...
View ArticleMy approach for SMRSTR(November Lunchtime)
Problem:- SMRSTRIt says that we have to optimize the code snippet given in the problem. We can observe that for every value in the X array we do the same thing by dividing it repeatedly by all the...
View Article