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

KTHMAX - Editorial

PROBLEM LINK:PracticeContestAuthor:RishabhTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:MediumPREREQUISITES:Stacks, Binary SearchPROBLEM:For an array of $N$ integers, you are asked...

View Article


BASE - Editorial

PROBLEM LINK:PracticeContestAuthor:Kevin Charles AtienzaTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:Easy-MediumPREREQUISITES:NonePROBLEM:Given an integer $N$, find the number of...

View Article


ANKTRAIN - Editorial

PROBLEM LINK:PracticeContestAuthor:Ankit SrivastavaTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:CAKEWALKPREREQUISITES:NonePROBLEM:Given a pattern of arrangement of berths in a...

View Article

KIRLAB - Editorial

PROBLEM LINK:PracticeContestAuthor:Roman KachurTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:Easy-mediumPREREQUISITES:Prime-factorization, GCD, Sieve of Eratosthenes, Dynamic...

View Article

Image may be NSFW.
Clik here to view.

CHEFCCYL - Editorial

Ah, I could have used the [hide][/hide] function if I knew it earlier. This would make editorials clearer, I think.PROBLEM LINK:PracticeContestAuthor:Full nameTester:Full nameEditorialist:Full...

View Article


BRIBETR - Editorial

Author:Kamil DebowskiTester:Niyaz NigmatullinEditorialist:Kamil DebowskiDIFFICULTY:MEDIUMPREREQUISITES:two pointers, dynamic programmingPROBLEM...SLOWER SOLUTIONLet's first solve the problem in...

View Article

WEICOM - Editorial

PROBLEM LINK:PracticeContestAuthor:Trung NguyenTester:Oleksandr KulkovEditorialist:Oleksandr KulkovDIFFICULTY:MEDIUMPREREQUISITES:NonePROBLEM:$n$ players participated in tournaments. Each player...

View Article

Wrong Problem in the Contest 'Coding Hours'

In the contest COHR2018, the problem 'Chef And His Algorithm' is probably wrong.The problem asks us to compute the minimum length of a string which consists of all the permutations of the given string,...

View Article


DBFB - Editorial

PROBLEM LINK:PracticeContestAuthor:anuj_2106Tester:Suchan ParkEditorialist:Suchan ParkI wasn't aware that the actual editorialist wrote an editorial here, but anyway I decided to upload my work to...

View Article


XORAGN - Editorial

PROBLEM LINK:PracticeContestAuthor:Abishek SainiTester:Suchan ParkEditorialist:Suchan ParkDIFFICULTY:EasyPREREQUISITES:Properties of XORPROBLEM:Given an integer sequence $A_{1}, A_{2}, \cdots, A_{n}$,...

View Article

Invitation to ProCon Junior 2018

"Code to fight, Code to survive, Code to win!"Hello Everyone!I would like to invite you all to participate in ProCon Junior to be held on CodeChef. It will begin at 19:30 IST on August 11, 2018.The...

View Article

In FRGTNLNG question Which test case is getting failed?

iterations = int(input()) while iterations : numberOfWords, numberOfLines = map(int, input().split()) wordsDictionary = {}; statusString = "" for word in input().split(): wordsDictionary[ word ] = "NO"...

View Article

small factorial

include<stdio.h>int main() { int t,a[100],i,f,j; scanf("%d\n",&t); for(i=0;i<t;i++) { scanf("%d\n",&a[i]); } for(i=0;i<t;i++) { f=1; for(j=1;j<=a[i];j++) { f=f*j; }...

View Article


what kind of questions may i ask?

I joined today in this site.I am poor at coding.By the suggestion of my sir, I want to know this site and want to learn coding.I am a student.I am studying Btech 1st year in iiit nuzvid.Please give...

View Article

Do I need to register for the CodeChef monthly contests (Long and Cook-Offs)...

I want to participate in the coming month's contest. Can I participate? Do I need to register for the CodeChef monthly contests (Long and Cook-Offs) every time

View Article


samsung hiring challenge

sir plz provide your expected inputs or else how would we know that our program is right or wrong because my code is matching the inputs nd outputs given in the description

View Article

Why am I getting worng answer ?

/Program to add two numbers/include<iostream>using namespace std; int main() { int T,a,b; cin>>T; /Entering the number of iterations/ for (int i=0; i<=T;i++) { cin>>a>>b; int...

View Article


Login problem

hello, I am using codechef with my gmail login. so now I want to login using username and password in same account can I do so? I tried to login with username and password but not able to do so..help!!

View Article

Procon Junior

I want to know the level of the comptetion (Procon Junior to be held on 11th Aug'2018). Will it be 10th level or +2 level?

View Article

Invitation to ProCon Junior 2018

"Code to fight, Code to survive, Code to win!"Hello Everyone!I would like to invite you all to participate in ProCon Junior to be held on CodeChef. It will begin at 19:30 IST on August 11, 2018.The...

View Article
Browsing all 39796 articles
Browse latest View live


Latest Images

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