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

Messenger chatbot that lists Live coding competitions

Hi, I wanted to show you guys simple chatbot that I had written. It can message you list of live competitions going on codechef and hackerearth.https://github.com/g4ur4v/HackerListMessengerBotFeedback...

View Article


How to scan integers until newline?

Is there a simpler way than taking the whole string as input and then separating all of them? Have been searching for a while and can't find a shorter way. I have T lines and they can have any number...

View Article


AMR14D - Editorial

PROBLEM LINK:PracticeContestEditorialist: Lalit KunduDIFFICULTY:CAKEWALKPRE-REQUISITES:SortingPROBLEM:Given N dolls of size A1, A2 ... AN. A Matryoshka doll refers to a set of wooden dolls of strictly...

View Article

TRICOIN - Editorial

PROBLEM LINK:PracticeContestAuthor:Sunny AggarwalTester:Sergey KulikEditorialist:Sunny AggarwalDIFFICULTY:CakewalkPREREQUISITES:Implementaion, Mathematics, Brute Force.PROBLEM STATEMENT:You are given a...

View Article

AMIFIB - Editorial

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

View Article


AMMEAT2 - Editorial

Problem Link:PracticeContestDifficulty:SIMPLEPre-requisites:Ad-hocProblem:Given integers N and K, pick K integers in 1...N, such that no two chosen integers are relatively prime.Explanation:Let us try...

View Article

KSUM - Editorial

PROBLEM LINK:PracticeContestAuthor:Sunny AggarwalTester:Sergey KulikEditorialist:Sunny AggarwalDIFFICULTY:EasyPREREQUISITES:Sorting, Greedy, Data Structure, Implementation.PROBLEM STATEMENT:Given an...

View Article

Data Structures and Algorithms

Hi all, I need your help to make a list of most used data structures and algorithms along with their tutorials, implementation and some problems on them. It will be helpful to everyone in many ways. I...

View Article


MMSUM - Editorial

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

View Article


PRETNUM - Editorial

PROBLEM LINK:PracticeContestDIFFICULTY:EASYPREREQUISITES:Prime factorization, SievePROBLEM:Find the number of integers in the given range which have prime number of divisors.QUICK EXPLANATION:Although...

View Article

Editorial request for Misha & Geometry (JUNE16)

It would be helpful if the author/Editorialist/admin could put up the editorial for the above problem.

View Article

Can someone please provide an editorial for the question A6?

I have no idea how to solve this question. codechef.com/problems/A6. I can't find the solution anywhere and haven't got a reply from any forum for it till now@admin, help

View Article

Editorial Request for RECTSQ

I request the author/tester to put up an editorial for the problem. Also, the problem statement is not properly written. It should clearly specify that all the square plots must be of the same size....

View Article


Code Sample..not retaining alignment of original code in forum questions

Recently I asked a question and found that the formatting of code is not the same as source. The newlines and tabs are not showing correctly. I tried but didn't find a solution. Is there any problem...

View Article

ATM Problem

#include<iostream> using namespace std; void input(int,double); void check(int ,double); int main() { int c1; double c2; cin>>c1>>c2; if(c1 > c2 ) { cout<<c2<<endl; }...

View Article


TTENIS - Editorial

PROBLEM LINK:ContestPracticeAuthor:Istvan NagyTester:Kevin Atienza and Gedi ZhengEditorialist:Kevin AtienzaPREREQUISITES:Ad hoc, string processingPROBLEM:In table tennis, a game is won by the player...

View Article

COLOR - editorial

PROBLEM LINK:PracticeContestAuthor:Sunny AggarwalTester:Sergey KulikEditorialist:Mugurel Ionut AndreicaDIFFICULTY:CAKEWALKPREREQUISITES:NonePROBLEM:Chef has N rooms, each of them painted in one of 3...

View Article


How to delete my CodeChef user name / account

I would like to delete my CodeChef user name/ account, please let me about the same ?

View Article

ALTARAY - Editorial

PROBLEM LINK:ContestPracticeAuthors:Jaub SafinTesters:Vasya AntoniukTranslators:Vasya Antoniuk (Russian), Team VNOI (Vietnamese) and Hu Zecong (Mandarin)Editorialist:Praveen...

View Article

Can we use itertools module from Python?

with the help of combinations function from this module we can find the different combinations of elements and find the prod of elements in that tuple and hence return the max prod.

View Article
Browsing all 39796 articles
Browse latest View live