Quantcast
Browsing all 39796 articles
Browse latest View live
↧

ROBOTG - Editorial

PROBLEM LINK:PracticeContestAuthor:Lewin GanTesters:Kamil DębowskiEditorialist:Lewin GanDIFFICULTY:EasyPREREQUISITES:NonePROBLEM:Given a robot, a grid, and a command string, find out if you can place...

View Article


Spoj AGGRESIVE COWS

Please help to solve this problem on spoj, can't understand how to use binary search.

View Article


HackerRank Week of Code 30 - POLES Problem

Can someone please look my code for POLES on HackerRank. Problem Link - https://www.hackerrank.com/contests/w30/challenges/poles Solution Link...

View Article

Image may be NSFW.
Clik here to view.

Just a minor bug

@admin There is a minor bug(I think so). In "My Submission" tab when I submitted code then icon of "result" shows "compile error" instead of "running". I think this was not there before site update.

View Article

Could you please find the bug in the euler circuit in java.. Pleaseee

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; import java.util.StringTokenizer;public class ConnectingNode {static int[][] a;...

View Article


Find Median in an Unsorted Array Without Sorting it

Given an unsorted Array A[1,2,3,.....N], Find the Medians in this array without sorting it in an efficient Way?

View Article

ICPC 2016 Online Round - Questions Not Added to Practice

It seems like the ICPC 2016 Online Round's questions have not been added to the practice section on Codechef. Contest link : codechef.com/ACMIND16Is there any particular reason why the questions...

View Article

SPOJ EGGYPIZZA

LINK TO PROBLEM :http://www.spoj.com/problems/EGYPIZZA/i have solved above problem using frequency array but i read in comments other approaches using set,map,greedy. What are different solution to...

View Article


ENTEXAM - Editorial

PROBLEM LINK:ContestPracticeAuthor:Sergey KulikTesters:Vasya Antoniuk and Kevin AtienzaTranslators:Vasya Antoniuk (Russian), Team VNOI (Vietnamese) and Hu Zecong (Mandarin)Editorialist:Kevin...

View Article


FNCS - Editorial

PROBLEM LINK:Author:Devendra AgarwalTester:Sergey KulikEditorialist:Florin ChiricaDIFFICULTY:medium-hardPREREQUISITES:sqrt decompositions, Fenwick Trees (or Interval Trees).PROBLEM:You're given an...

View Article

Approach for problem GAMCOUNT

The problem link is: https://www.codechef.com/problems/GAMCOUNT Approach:As we know Henry gonna win every game in which possible number of all valid moves is odd. So we calculate total number of valid...

View Article

URGENT- Find all sub arrays of a given array.

Hey guys, can you please help me out on this one? I need a code to find/print all possible sub-arrays for a given array (for quiz exam today). I searched google but I cannot get a relevant...

View Article

ANUBTG - Editorial

PROBLEM LINK:PracticeContestAuthor:Anudeep NekkantiTester:Minako KojimaEditorialist:Lalit KunduDIFFICULTY:EASYPRE-REQUISITES:Sorting, GreedyPROBLEM:You have to buy N items of cost A1, A2 ... AN. For...

View Article


External rated contests doubt

I recently saw some external rated contests being hosted like https://www.codechef.com/ALKH2017 so I have the following doubts?Does it count in the 100% prize thing.If we don't register for prizes,...

View Article

The Samsung Challenge

Hello , Those of you who feel that they are good in competitive programming and are looking for a great or superb job , I am currently hiring smart candidates for my team. You will have to clear a...

View Article


Online Mobile development competition

We want to organize an online mobile development competition , we want codechef as our sponsor how can it help us.

View Article

Will CooK80 be rated

There was a blunder mistake in test data of 3rd problem which costed hours of time debugging the code to many participants. So, my question is will it be rated??If this had happened on CF I am sure the...

View Article


SCHEDULE - Editorial

PROBLEM LINK:PracticeContestAuthor:Hasan JaddouhTesters:Sergey Kulik, Kamil DębowskiEditorialist:Pawel KacprzakDIFFICULTY:EASYPREREQUISITES:Binary searchPROBLEM:For a binary string $A$, let's define a...

View Article

what is wrong with the logic?

problem:https://www.codechef.com/problems/IGNUS15B solution:https://www.codechef.com/viewsolution/13140865

View Article

What kind of comment should I post on the problem page?

Is there any comment posting guideline? I am new on this website. I have so many doubts while I participate in a contest. Can I ask them on the problem page by posting a comment? Will I be banned for...

View Article
Browsing all 39796 articles
Browse latest View live


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