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

Invitation to CodeChef January Cook-Off 2019 sponsored By ShareChat

Greetings CodeChef community!I invite you to participate in CodeChef’s January Cook-Off 2019 sponsored by ShareChat*. This short contest lets you solve 5 problems in 2.5 hours. The contest problem...

View Article


Is there any formula to calculate nth fibonacci number ?

Suppose we are given, a(0)=x ; a(1)=y and the relation, a[i]=a[i-1]+a[i-2] and , we are asked to calculate a(n) , how to calculate it if n is as big as 10^9 ?Thanks ! :-)

View Article


EARTSEQ QUESTION

https://www.codechef.com/viewsolution/22395844WHAT IS WRONG IN MY CODE??

View Article

Implementation of Dijkstra's Algorithm using set data structure in C++

I was trying to implement Dijkstra using set data structure in C++. I was coding in C++14 and there seems to be something out of order in the code for it is not giving me the right answer in Codechef...

View Article

Previous CCDSAP exam questions

Where can I find all the previously conducted CCDSAP exam questions?

View Article


How to implement Pair Class in Java?

Is there any inbuilt library for pair class in java like in c++? If nor how to we implement pair class in java and how can we do pair sort with respect to first element and pair sort with respect to...

View Article

Regarding JavaFX Library error.

when we import JavaFX library in codechef IDE.it was showing a syntax error.How can we rectify this one??

View Article

RECTSQ, am I unable to understand?

https://www.codechef.com/problems/RECTSQMy Code:#include <stdio.h> int ans; int finder (int a, int b) { if(b > a) { a += b; b = a-b; a = a-b; } int k = a/b; ans += k; if(a-(k*b))...

View Article


KINGCON - Editorial

PROBLEM LINK:PracticeContestAuthor:Jay PandyaTester:Hiroto SekidoEditorialist:Anton LunyovDIFFICULTY:EASYPREREQUISITES:Biconnected componentsPROBLEM:Getting rid of the story line the problem simply...

View Article


Need your help! YVMUN

I cant understand why i am getting wrong answer in YVNUM. I matched all testcases and corner cases that i can think of ..with the testers solution and my solution ..all are hiving same...

View Article

GMEDIAN - Editorial (Unofficial)

PROBLEM LINK:Div1Div2Setter:Teja Vardhan Reddy Editorialist: Utkarsh PandeyDIFFICULTY: EASYPRE-REQUISITES: Observation, Binomial Coefficients.PROBLEM: Given a sequence A1,A2,…,AN. Find the number of...

View Article

Image may be NSFW.
Clik here to view.

GetCode Codechef/Codeforces/SPOJ plugin for Sublime Text 3

GetCodeThis is an ST3 plugin which:Take the URL of a problem such as https://www.codechef.com/problems/INVLIS.Parse the URL and get the problem code(In this case it is INVLIS).Create a new .cpp or .py...

View Article

Image may be NSFW.
Clik here to view.

Invitation to RATED Contest(Div1+Div2) Enigma on Codechef, 10 January 2019

Hello, CodeChef community,Tired of searching for the perfect teammates in every competition? Want to prove your worth as a solo coder? Looking for the perfect platform to display your skills?This solo...

View Article


Getting java NZEC error on codechef compiler

Guys i am trying to solve the DAG Delete problem of December contest. My code runs perfectly fine on my computer and i have tested it for multiple cases. I have also made sure that everything is...

View Article

Why doesn't Codechef put editorials of all problems !

Is there nobody answerable to providing editorials of contest problems. Let go other open and unrated contests, we are talking about monthly rated contests. Several times the editorials don't appear...

View Article


MySql database creation

Need help how to create database in mysql via chef .Iam able to install mysql and now i need to create database i don't know the syntax how to create database.Thanks .

View Article

DIFNEIGH - EDITORIAL

PROBLEM LINK:PracticeContest: Division 1Contest: Division 2Setter:Evgeniy ArtemovTester:Xiuhan WangEditorialist:Taranpreet SinghDIFFICULTY:Easy-MediumPREREQUISITES:Pigeonhole principle, Constructive...

View Article


Help for SEACO

hi , i am not able to find out whats wrong in my solution for the problem "Sereja and Commands"(https://www.codechef.com/problems/SEACO ) . I am implementing a fenwick tree approach , in which i am...

View Article

Ratings are just unfair..!!!

Ratings are just unfair..!!My rating before(this and JAN Challenge) is 1484.And after this challenge +83.So 1567.And it is reverted back to 1484.Due to running of JAN Long challenge.And after long...

View Article

Image may be NSFW.
Clik here to view.

A big bug in Rating system..!!!

Here,It is my rating graph for Jan Long Challenge 2019(Div.2),And see my rating inc. by 14.So which becomes 1581.And my Rank was 2673.And this is Another graph of the person from same rank list,which...

View Article
Browsing all 39796 articles
Browse latest View live


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