How to find maximum spanning tree in BEERUS?Please help
https://www.codechef.com/QUCO2018/problems/BEERUS
View ArticleCan u help for SUMQ of june17
This is my code : https://www.codechef.com/viewsolution/18896151 i think my approach is ok. but somehow I can't realise the cause of WA. please help!!Thanks btw.
View ArticleCan anyone help me with SUMQ from JUNE17 ?
I tried really hard for this problem but kept getting WA till the end (though i got partial points using brute-force). Here's what I tried : https://www.codechef.com/viewsolution/14076399
View ArticleKMXOR - Editorial
PROBLEM LINK:PracticeContestAuthor:Yuri ShilyaevTester:Hasan JaddouhEditorialist:Yury ShilyaevDIFFICULTY:EasyPREREQUISITES:Xor operation, constructive.PROBLEM:You are given two integers $N$ and $K$....
View ArticleCOOK82C - Editorial
PROBLEM LINK:PracticeContestAuthor:Hussain Kara FallahPrimary Tester:Hasan JaddouhSecondary Tester:Istvan NagiEditorialist:Udit SanghiDIFFICULTY:EASY-MediumPREREQUISITES:QueuePROBLEM:Given an array of...
View ArticleString question
https://www.hackerrank.com/contests/seriea/challenges/limak-and-weird-subsequences Can anyone give me some hint of this question?? Contest not running..
View ArticleCan someone please explain TWOFL i am not getting it?
https://www.codechef.com/problems/TWOFL
View ArticleWhats wrong in my code of COPS?
I have written a code but when I submit it, it gives me error SIGSEGV. My code is here:- https://www.codechef.com/viewsolution/18896596
View ArticleNew blog for Competitive Programmers
Hey guys I have started a new blog. The first article is on dfs lowlinks . You can read it up here. Feel free to comment if anything is wrong or suggest any changes you want me to make. Also feel free...
View ArticleCAREFUL - Editorial
PROBLEM LINKS:PracticeContestDIFFICULTYMEDIUMEXPLANATION(Note that it's well-known that if N = p1k1 p2k2... pmkm, where all pi are distinct primes, then φ(N) = p1k1-1(p 1-1) p2k2-1(p 2-1) ... pmkm-1(p...
View ArticlePlagiarism Help - False Positive MOSS
First of all i would like to say, i am really sry but i am kind of worried about false positive MOSS hit i got in May18B. I totally understand codechef team is busy but it has been over 14 days since i...
View Article100 percent attendance related query
i have a query related 100% attendance that suppose when i am in 1 division and not able to do 1 question can i do just 1 question from division 2 such that my 100% attendance will be secure because i...
View ArticleDOUBT BASED ON QUESTION "NUKES"
Hey, I submitted my code for the NUKES problem, but 4 of the 8 cases got rejected. Could someone please help me out? Thanks. My code:https://www.codechef.com/viewsolution/18896716
View ArticlePLUSEQ - Editorial
Problem LinkPracticeContestAuthor:Stacy HongTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyHARDPrerequisitesBranch and Bound, Dynamic Programming, Big Integers, Hashing,...
View ArticleSHKSTR problem in editorial
I have used almost the same approach as the online one. Instead of a vector, i just stored the first occurence of the alphabet and another field which told me the index of the first word which ends...
View ArticleWhats wrong in this code?
#include <iostream> using namespace std; int t,n[1000]; void input(int); void output(int); int main() { cin>>t; input(t); output(t); return 0; } void input(int t) { { for (int i=0;...
View ArticleSomeone, please help me out!
Hi all, After messing whole day with my code i'm still not able to figure out why this code is failing and other code which is exactly same passes all the testcase?MYCODEOTHER CODEI just want to know...
View Article