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

LECANDY - Editorial

PROBLEM LINKS:PracticeContestDIFFICULTY:CAKEWALKPREREQUISITES:Basic knowledge of arrays and loops.PROBLEM:The program asks you to calculate if all the elephants would get the number of candies that...

View Article


How do I win a CodeChef Goodie?

I want to know how can I get a CodeChef goodie? In which monthly contests, how many goodies are given? Does CodeChef also give certificates to the winners?

View Article


ALPHABET - Editorial

PROBLEM LINK:PracticeContestAuthor:Sergey KulikTester:Harshil ShahEditorialist:Pawel KacprzakDIFFICULTY:CAKEWALKPREREQUISITES:Strings, ImplementationPROBLEM:For a fixed set of Latin letters S, for each...

View Article

CS Academy Special Round #64 (Interactive only) with Prizes

Hi all,I would like to invite you to CS Academy's next contest which takes place on Wednesday. The round will consist of interactive problems, only. There will be some money prizes awarded to the top 2...

View Article

LAPIN - Editorial

Problem Link:PracticeContestDifficulty:CakewalkPre-requisites:ad-hocProblem:Given a string S, if we split it in the middle (if S has an odd number of characters, disregard the middle character), then...

View Article


Image may be NSFW.
Clik here to view.

Android app for codechef with offline support

Fridge for CodechefI just made a free open source android app, Fridge for Codechef, which is my first big project. Basically, during long challenges, I wanted to read the questions whenever I got free...

View Article

Unofficial Editorials December Lunchtime

Hello Guys, I'm back with another set of editorials in hope you would like them. :)I hadn't attended December Cook Off due to certain unavoidable circumstances, that's the reason of no editorials for...

View Article

spoj gss1 tle

Hi, I am getting tle for problem gss1.Can someone please help where I am going wrong. My code: https://ideone.com/BN5ecX Thanks.

View Article


Priority Queue Questions !!!

Can anyone provide me links to some priority queue questions?

View Article


Help with Puchi and Luggage

I am trying to understand this problem: Puchi and luggage. I understand that it is using Inversion Count of merge sort. But here, in author's solution, I don't understand why the Frequency array is...

View Article

LEBOMBS - Editorial

PROBLEM LINK:PracticeContestDIFFICULTY:Cake walkPREREQUISITES:NonePROBLEM:You're given an array of houses some of which have a bomb and others don't. These bombs will explode simultaneously and when...

View Article

GOODBAD - Editorial

PROBLEM LINK:PracticeContestAuthor:Praveen DhinwaTester:Misha ChorniyEditorialist:Animesh FatehpuriaPROBLEMYou just received a message given by a string $s$. You don't know whether this message is sent...

View Article

Data Structures and Algorithms

Hi all, I need your help to make a list of most used data structures and algorithms along with their tutorials, implementation and some problems on them. It will be helpful to everyone in many ways. I...

View Article


MINMAX2 - EDITORIAL

Minimum Maximum PartitionProblem Setter:Istasis MishraProblem Tester:Istasis MishraEditorialist:Taranpreet SinghProblem:Given two arrays P and Q of Size N and an integer K, Minimize AND maximize the...

View Article

How to forward declare variables in Python

I would like to know how to forward declare variables in Python. I have attached a program here. Please if anyon e has time please look at it. It is a pizza ordering program. SGST and CGST are taxes in...

View Article


How to get rid of getting NZEC error while submitting solution in java?

To all who are geting NZEC, try using this format in java:import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { try{ //Your Solve...

View Article

"I want to ask a question" - Ask them all here!

Hello guys,As you all are aware, many times there are genuine users who wish to ask a question, but dont have karma for it. They then, have to resort to means of either asking their question in other...

View Article


Invitation to ACM-ICPC Asia-Kharagpur Onsite Replay Contest

Hearty Greetings!I invite you to participate in the ACM-ICPC Asia-Kharagpur Onsite Replay Contest, which will feature the same problem sets faced by contestants at the ICPC 2017 onsite...

View Article

INOI 2018 discussion

How was INOI 2018? How much did u get? Also add ur scores to this spreadsheet. https://docs.google.com/spreadsheets/d/1FiLaqTJDSm8E30UQWegIsuaJtvvdLlYAoqXyZMzK2dM/edit#gid=0

View Article

Need help with a point update and range query question

Given an array of 'N' integers, I need to perform two kinds of queries :Point update : U P : Arr[u] = PGiven a L,R,P I need to find the smallest number in the range [L,R] that is greater than P.There...

View Article
Browsing all 40121 articles
Browse latest View live


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