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

RECIPE - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONThe problem here is divide all numbers by some constant so that the divisions have no remainder. We produce the smallest result by dividing by a...

View Article


Help needed for solving this problem based on graph

Given am array of N integers is it possible to deaign a simple graph of N vertices?.A graph considered simple if it has no self-loop r multi-edges. The condition is that each element of array should be...

View Article


BITMASK4 - Editorial

Problem Link:ContestPracticeDifficulty:MediumProblem:We need to find the biggest set of parallel lines from the given lines.Explanation: Equation of line is given by $ ax+by+c=0$ -eq(1). where a,b,c...

View Article

ABCDEFGHIJKL

ABCDEFGH IJKL MNOP QRST UVWXYZ

View Article

TEST - Editorial

PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/OutputPROBLEM:Rewrite small numbers from input to output. Stop processing input...

View Article


HS08TEST - Editorial

PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/Output,Data TypesEXPLANATION:Please refer to the sample solution given by...

View Article

Please help me debug my code for CRFTEST

I have a question for CFRTEST. I keep getting a WA. Here's my code:#include <iostream> #include <algorithm> #include <cmath> using namespace std; int main() { int cases; cin >>...

View Article

FCTRL - Editorial

PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:EASYPREREQUISITES:Basic looping,Basic Maths(Number Theory)PROBLEM:Find the Number of Trailing Zeroes at the end of...

View Article


Help with beautiful arrays

I am getting wrong answer for the problem ICPC16B. Please help. The link to my submission is:https://www.codechef.com/viewsolution/13572487

View Article


Problem with ICPC16B Beautiful Arrays

The problem goes as follows : "An array a is called beautiful if for every pair of numbers ai, aj, (i ≠ j), there exists an ak such that ak = ai * aj. Note that k can be equal to i or j too." So for...

View Article

Grundy Number

Can someone explain me grundy number as in how to construct it i read about it on topcoders and other websites but was not able to understand the concept behind it and how to construct it

View Article

Image may be NSFW.
Clik here to view.

KINGSHIP - Editorial

PROBLEM LINK:PracticeContestAuthor:Shiplu HawladerTester:Tasnim Imran SunnyEditorialist:Lalit KunduDIFFICULTY:SIMPLE-EASY PREREQUISITES:Connected GraphTreePROBLEM:Connect all the N(<=10^5) cities to...

View Article

Why do I get a SIGFPE?

I keep getting SIGFPE error when i try to run my program. Why so?

View Article


BITMASK2 - Editorial

Problem Link:PracticeContestDifficulty: EasyProblem: Given two vectors, we have to arrange the elements of these vectors in such a way that their dot product is minimum.Quick Explanation: We need to...

View Article

ESSAY FOR SCHOOL

I've got to write an essay about famous algorithms (mostly sorting and searching) in various programming languages (in my case C++ and Pascal, and maybe but very unlikely Java). Can somebody please...

View Article


BITMASK1 - Editorial

Problem Link:PracticeContestDifficulty: CakeWalkProblem: Find the minimum amount to purchase all types of stones.Explanation: The input is N*N matrix. We can consider it as N different arrays. We just...

View Article

BRLADDER - Editorial

PROBLEM LINK:PracticeContestAuthor:Kamil DębowskiTesters:Hasan Jaddouh, Sergey KulikEditorialist:Pawel KacprzakDIFFICULTY:CakewalkPREREQUISITES:Elementary mathPROBLEM:For a given infiniteladder graph...

View Article


Query related to SNCKQL17

How can i find and invite a team member for the SNCKQL17 contest? Is anyone interested in joining the team and getting solution in Javascript Language?

View Article

BITMASK3 - Editorial

Problem Link:PracticeContestDifficulty: Easy-MediumPrerequisites: Binary SearchProblem: Find the maximum number x for which the sum of x natural numbers don't exceeds the litres of water...

View Article

Image may be NSFW.
Clik here to view.

CODECHEF Attendance

Hey There Guys,Hope You all are having a good time. I want to present you another tool which can show you your attendance in CodeChef.This is especially useful for those who want to check their...

View Article
Browsing all 39796 articles
Browse latest View live


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