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

SPIT2-Editorial

PROBLEM LINKPracticeContestAuthor : Ankit Sagwekar Tester : Vikesh Tiwari Editorialist : Ankit SagwekarDIFFICULTYEasy PREREQUISITESbasics,array,implementationPROBLEMGiven two integers 'm' and 'n'. Find...

View Article


Spoj Sum of Digits getting TLE,Please help

Hi everyone,This is the link to the problem in the spojFirstly i thought it was an easy problem but later i have got TLE on submitting and then i have observed that the time limit is so less.My code is...

View Article


ANKNIM2 - Editorials

PROBLEM LINK:PracticeContestAuthor: Ankit Srivastava and Uttam Kanodia Tester: Roman Rubanenko Editorialist: Amit PandeyDIFFICULTY:MediumPREREQUISITES:Fast Fourier Transform. PROBLEM:Given an array of...

View Article

[Guidance] What's the method to get precision till decimal place defined by...

I am working on this problem LMA1I tried this method from the editorial. Why am I getting WA ?#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(0); double t,a,n,p,d,q;...

View Article

How many zeroes(Uva)?

Hi, i trying to solve this https://uva.onlinejudge.org/external/110/11038.htmlThe problem is about couting the no of occurences of zeroes in an interval.Event though i read a tutorial...

View Article


GCDQ - Editorial

PROBLEM LINK:PracticeContestAuthor:Praveen DhinwaTester:Shiplu HawladerEditorialist:Lalit KunduDIFFICULTY:EASY PRE-REQUISITES:GCD, Precomputation PROBLEM:You are given an array A of integers of size N....

View Article

MSTICK - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESRange Minimum Query, Simple MathPROBLEMYou are given N matchsticks arranged in a straight line, with their rearends touching each other. You are...

View Article

ANKPAREN - Editorial

PROBLEM LINK:PracticeContestAuthor: Ankit Srivastava and Uttam Kanodia Tester: Roman Rubanenko Editorialist: Amit PandeyDIFFICULTY:Easy-MediumPREREQUISITES:Basic programmingPROBLEM:Given a string...

View Article


Snackdown elimination round

Problem MAXDIST have very weak input. It even passes the wrong solution. Solution id http://www.codechef.com/viewsolution/7251982 is giving wrong answer on testcase 1 9 1 2 2 3 3 4 4 5 4 6 4 7 2 9 2 8...

View Article


Who knows how to build an online community?

I am searching for an online community programmer to build the next generation of facebook. My idea is revolutionary. It would require the skills of a programmer that has SEO skills. A partnership...

View Article

Ruby Tutorial

Can anyone provide me the good source for the online ruby language tutorial.....thanks in advance

View Article

TAPALIN - Editorial

PROBLEM LINKSPracticeContestDIFFICULTYSIMPLEPREREQUISITESSimple Math, Matrix ExponentiationPROBLEMFind the number of palindromic strings that can be made of length N, or less.QUICK EXPLANATIONWe can...

View Article

DEVSTR - Editorial

PROBLEM LINK:PracticeContestAuthor:adminTester:Kevin AtienzaEditorialist:Ajay K. VermaRussian Translator:Sergey KulikMandarian Translator:Gedi ZhengDIFFICULTY:EasyPREREQUISITES:Basic mathsPROBLEM:Given...

View Article


Image may be NSFW.
Clik here to view.

Android App for Coders - Coder's Calendar

A few weeks ago,I had written about a Chrome and Firefox extension that I had created called Coder's Calendar which displayed a list of live and upcoming coding contests.(read about it here) I've...

View Article

Computing Factorials of a huge number in C/C++: A tutorial

Hello @all,As in MARCH13 contest we needed to use primary school arithmetics once again, and as it is a topic that comes up quite frequentely here in the forums thanks to this problem, and also, as I...

View Article


QUESTION - what is the difference between if(i==1) and if (i&1)

IT IS A CONCEPTUAL QUESTION -> plz answer in detail

View Article

FROGV - Editorial

PROBLEM LINK:PracticeContestAuthor:Dmytro BerezinTester:Shang Jingbo and Gerald AgapovEditorialist:Devendra AgarwalDIFFICULTY:SIMPLEPREREQUISITES:Basic Dynamic Programming PROBLEM:Given Frog's location...

View Article


PROGRAMMING QUESTION

hello all This question is all about implementation and design. Given an array of n elements print array's elements in ascending order or descending order without changing the array's elements and...

View Article

AMIFIB - Editorial

PROBLEM LINK:PracticeContestAuthor:Vineet PaliwalTester:Roman RubanenkoEditorialist:Jingbo ShangDIFFICULTY:EasyPREREQUISITES:Fibonacci Property, Quick Sort, Offline Algorithm, Hash, Binary...

View Article

Image may be NSFW.
Clik here to view.

A tutorial on Suffix Arrays

Hello @all,This text will focus on the construction of Suffix Arrays, it will aim to explain what they are and what they are used for and hopefully some examples will be provided (it will be mainly...

View Article
Browsing all 39796 articles
Browse latest View live


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