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

Need help to find out why my approach is failing for RECTSQ

Hi I was trying to solve the problem RECTSQ, and somehow succeeded to solve it for the provided testcases, but codechef shows WA. Please help me to find the flaws in my approach or concept. Since the...

View Article


javascript on macbook

Hi guys I have been trying javascript language on macbook sometimes some codes don't work. such as substituting names for some id elements. when I click the button click for greeting nothing comes up!...

View Article


why is this wrong? Re

#include<iostream> using namespace std; int main(){ int n,a[100]; cin>>n; for(int i=0;i<n;i++){ int fact=1; cin>>a[i]; for(int j=1;j<a[i]+1;j++) fact = fact*j; a[i]=fact; }...

View Article

Invitation to CodeChef August Long Challenge 2018 sponsored by ShareChat!

Hello CodeChef Community!We are thrilled to invite you to participate in the August Long Challenge 2018 sponsored by ShareChat. In addition, there are some exciting internship and full-time job...

View Article

Getting started here, questions about strategy, etiquitte, etc.

Hi guys. I've just started here, I have a few questions about how I approach this place. Firstly, let me just say that wow - some of the problems here are pretty difficult, even for easy!Alright, so...

View Article


PRMDIV - Editorial

Problem LinkPracticeContestAuthor:Ivan FeketeTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyEASYPrerequisitesSieving TechniquesProblemLet $S(x)$ denote the sum of distinct prime divisors of...

View Article

execution time taken by methods

how can i calculate the execution time of each methods in my program . if my method is calling some other method then it should tell the execution time of current method along with the method that is...

View Article

Campus Chapter

hii good morning sir/mam i want to ask some queries related to campus chapter.1-My college students are very new to competitive programming so for first few contests can you host some easy contests??...

View Article


Wrong solution for problem KMXOR

for problem "https://www.codechef.com/problems/KMXOR", I am getting wrong answerMy solution: https://www.codechef.com/viewsolution/19707356Can somone please tell what is wrong in my solution since am...

View Article


FREPPN - App (Review Requested)

Hello guys,I was requested by @Codeiatio to write an app review on discuss for their app Freppen (@freppn) (link- https://play.google.com/store/apps/details?id=com.freppn.codeiatio.freppn ) for they...

View Article

GCDMOD - Editorial

Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesGCD, Modular Exponentiation, Overflow-handlingProblemFind the GCD of $A^N +...

View Article

GCDMOD - Editorial

Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesGCD, Modular Exponentiation, Overflow-handlingProblemFind the GCD of $A^N +...

View Article

PROBLEMS - Editorial

Problem LinkPracticeContestAuthor:Ashesh VidyutTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASYPrerequisitesSortingProblemGiven $P$ problems, each having $S$ subtasks. Each subtask has a...

View Article


SHKNUM - Editorial

Problem LinkPracticeContestAuthor:Jitender SheoraTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultySIMPLEPrerequisitesPre-computation, Binary-searchProblemYou are given a number $N$ and you can...

View Article

SHKNUM - Video Editorial (C++, Java, Python)

Video solution with explanation (C++, Java, Python): https://youtu.be/yMxoRT381yQ

View Article


GCDMODE video editorial

Someone has uploaded video editorial for GCDMOD problem , i thought to share with you. GCDMOD

View Article

Image may be NSFW.
Clik here to view.

LONCYC - Editorial

Problem LinkPracticeContestAuthor:Noszály ÁronTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyMEDIUMPrerequisitesDFS, Cycle detection, case analysis.ProblemYou are given a simple graph with $N$...

View Article


GCDMOD - Editorial

Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesGCD, Modular Exponentiation, Overflow-handlingProblemFind the GCD of $A^N +...

View Article

KCOMPRES - Editorial

Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyMEDIUMPrerequisitesBinary Search, Greedy, Segment trees.ProblemYou are given a sequence of integers...

View Article

SPELLBOB - Editorial

Problem LinkPracticeContestAuthor:Praveen DhinwaTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyCAKEWALKPrerequisitesLooping TechniquesProblemYou are given 3 cards with letters written on both...

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>