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

TOURBUS - Editorial

PROBLEM LINK:PracticeContestAuthor:David StolpTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:ChallengePREREQUISITES:Greedy, Dynamic Programming, Search, RandomPROBLEM:Given a undirected graph...

View Article


PLZLYKME - Editorial

PROBLEM LINK:PracticeContestAuthor:Kaushik IskaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:SimplePREREQUISITES:Programming LanguagePROBLEM:Define F[1] = S, F[i > 0] = F[i - 1] * (C + 1)....

View Article


Prize in contests

Hi all! i'm new here so, just wanted 2 noe: What are prizes/prize money for different contests in Codechef?

View Article

CHEATING IN JANUARY LONG

Problem : MeteorAll they did was a : find and replacehttp://www.codechef.com/viewsolution/3250056http://www.codechef.com/viewsolution/3247304PS : All please read CodeChef Code Of Conduct , there is...

View Article

Suggest new features you think should be added to CodeChef ?

I know have improved a lot by this codechef...its really awesome. But i would like to tell to the admin that codechef should improve a bit more, imean should add some more features....Such as message...

View Article


BUY1GET1 - WA

It seems like an easy problem. But somehow, I am getting a WA. I can't seem to figure out why. Please have a look A description of my algorithm - Made two arrays A[26] and a[26] for storing the count...

View Article

Using scanf() for strings

I was wondering why we don't get an erroneous result when we use 2 scanf statements for accepting two strings, one after the other. The first scanf("%s",s1) statement ends when we hit a '\n'. It leaves...

View Article

FGFS - Editorial

PROBLEM LINK:PracticeContestAuthor:Vivek HamirwasiaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:EasyPREREQUISITES:Sort, Greedy.PROBLEM:Given some sets of open intervals (exclusive at two...

View Article


ERROR - Editorial

PROBLEM LINK:PracticeContestAuthor:Vivek HamirwasiaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:CakewalkPREREQUISITES:Programming Language.PROBLEM:Determine whether the given binary string...

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

Weak test cases for SEAGRP (Jan14 long contest)

The test cases for the problem SEAGRP are weak. Many wrong solution are being accepted which must have failed if test cases were good. One of my friend got accepted but his code giving wrong answer on...

View Article

ATM compiler c4.3.2

#include<stdio.h> int main() { float x; int y; scanf(%d",&y); scanf("%f",&x); if(y%5==0&&(x-y)>0.5) printf("%0.2f",(x-(y+0.5))); else if(y%5!=0&&(x-y)>0.5)...

View Article

TSORT- TLE.. i tried merge sort and sorting in algorithm header

I tried merge sort. and stable_sort() bt both gives TLE. plz help.links to my submission is given.

View Article


FRBSUM - Editorial

PROBLEM LINK:PracticeContestAuthor:Constantine SokolTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Segment Tree, Binary Search, Persistent Segment Tree.PROBLEM:Given...

View Article

SEAGRP - Editorial

PROBLEM LINK:PracticeContestAuthor:Sergey NaginTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Matching, Gaussian EliminationPROBLEM:Determine whether there is any perfect...

View Article


Image may be NSFW.
Clik here to view.

TAPAIR - Editorial

PROBLEM LINK:PracticeContestAuthor:Tuan Anh Tran DangTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:HardPREREQUISITES:DFS orderPROBLEM:Given an undirected simple graph with N nodes and M...

View Article

MTRICK - Editorial

PROBLEM LINK:PracticeContestAuthor:Nikhil GargTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:Easy-MediumPREREQUISITES:Programming Language, Simple Math.PROBLEM:Perform the "Ancient Algorithm"...

View Article


Image may be NSFW.
Clik here to view.

METEORAK - Editorial

PROBLEM LINK:PracticeContestAuthor:Roman RubanenkoTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:MediumPREREQUISITES:Dynamic ProgrammingPROBLEM:Given a N * M matrix mat with some obstacles...

View Article

CNTDSETS - Editorial

PROBLEM LINK:PracticeContestAuthor:Mugurel Ionut AndreicaTester:Gerald AgapovEditorialist:Jingbo ShangDIFFICULTY:HardPREREQUISITES:Combination, Inclusion–exclusion principle, Euler's...

View Article

cheating in december long

http://www.codechef.com/users/dragonslayerv2http://www.codechef.com/users/dragonslayerxThese two contenstants seem to be cheating. Exact same scores in the problems and the same order and time in which...

View Article
Browsing all 40121 articles
Browse latest View live


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