Quantcast
Browsing all 39796 articles
Browse latest View live

How to find maximum spanning tree in BEERUS?Please help

https://www.codechef.com/QUCO2018/problems/BEERUS

View Article


If there is + or -sign in ahead of a variable, then what does it means??

For e.g. c+

View Article


Can 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 Article

Can 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 Article

KMXOR - Editorial

PROBLEM LINK:PracticeContestAuthor:Yuri ShilyaevTester:Hasan JaddouhEditorialist:Yury ShilyaevDIFFICULTY:EasyPREREQUISITES:Xor operation, constructive.PROBLEM:You are given two integers $N$ and $K$....

View Article


COOK82C - Editorial

PROBLEM LINK:PracticeContestAuthor:Hussain Kara FallahPrimary Tester:Hasan JaddouhSecondary Tester:Istvan NagiEditorialist:Udit SanghiDIFFICULTY:EASY-MediumPREREQUISITES:QueuePROBLEM:Given an array of...

View Article

String 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 Article

Can someone please explain TWOFL i am not getting it?

https://www.codechef.com/problems/TWOFL

View Article


Whats 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 Article


New 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 Article

CAREFUL - 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 Article

Plagiarism 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 Article

100 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 Article


DOUBT 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 Article

PLUSEQ - Editorial

Problem LinkPracticeContestAuthor:Stacy HongTester:Misha ChorniyEditorialist:Bhuvnesh JainDifficultyHARDPrerequisitesBranch and Bound, Dynamic Programming, Big Integers, Hashing,...

View Article


SHKSTR 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 Article

Whats 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 Article


How to solve KRILLIN

https://www.codechef.com/QUCO2018/problems/KRILLIN

View Article

Someone, 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

H1 A puzzle game

Please share its tutorial. Or explain how we would do it.

View Article
Browsing all 39796 articles
Browse latest View live


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