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 Articlejavascript 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 Articlewhy 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 ArticleInvitation 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 ArticleGetting 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 ArticlePRMDIV - Editorial
Problem LinkPracticeContestAuthor:Ivan FeketeTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyEASYPrerequisitesSieving TechniquesProblemLet $S(x)$ denote the sum of distinct prime divisors of...
View Articleexecution 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 ArticleCampus 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 ArticleWrong 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 ArticleFREPPN - 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 ArticleGCDMOD - Editorial
Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesGCD, Modular Exponentiation, Overflow-handlingProblemFind the GCD of $A^N +...
View ArticleGCDMOD - Editorial
Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesGCD, Modular Exponentiation, Overflow-handlingProblemFind the GCD of $A^N +...
View ArticlePROBLEMS - Editorial
Problem LinkPracticeContestAuthor:Ashesh VidyutTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASYPrerequisitesSortingProblemGiven $P$ problems, each having $S$ subtasks. Each subtask has a...
View ArticleSHKNUM - Editorial
Problem LinkPracticeContestAuthor:Jitender SheoraTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultySIMPLEPrerequisitesPre-computation, Binary-searchProblemYou are given a number $N$ and you can...
View ArticleSHKNUM - Video Editorial (C++, Java, Python)
Video solution with explanation (C++, Java, Python): https://youtu.be/yMxoRT381yQ
View ArticleGCDMODE video editorial
Someone has uploaded video editorial for GCDMOD problem , i thought to share with you. GCDMOD
View ArticleLONCYC - Editorial
Problem LinkPracticeContestAuthor:Noszály ÁronTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyMEDIUMPrerequisitesDFS, Cycle detection, case analysis.ProblemYou are given a simple graph with $N$...
View ArticleGCDMOD - Editorial
Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyEASY-MEDIUMPrerequisitesGCD, Modular Exponentiation, Overflow-handlingProblemFind the GCD of $A^N +...
View ArticleKCOMPRES - Editorial
Problem LinkPracticeContestAuthor:Bhuvnesh JainTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyMEDIUMPrerequisitesBinary Search, Greedy, Segment trees.ProblemYou are given a sequence of integers...
View ArticleSPELLBOB - Editorial
Problem LinkPracticeContestAuthor:Praveen DhinwaTester:Mark MikhnoEditorialist:Bhuvnesh JainDifficultyCAKEWALKPrerequisitesLooping TechniquesProblemYou are given 3 cards with letters written on both...
View Article