You are not logged in. Please login at to post your questions!


Invitation to Blueprint contest on CodeChef


Hello CodeChef community,

We all at IIIT Bhubaneswar are extremely happy to announce a new round on CodeChef, we will be starting our Tech Fest Advaita officially through our first contest Blueprint. I invite everyone to participate in the contest. We hope you'll love the problems and would enjoy the contest.

I would like to thank everyone in the problem setting team along with me:

Tester: Teja Vardhan Reddy

Setters: Aman Gupta, Prateek Patnaik, Subash Manohari, Vipul Vikram

Contest Details:

Check your timezone here.

Contest Prizes:

In addition to CodeChef laddus we've arranged some cash prizes as well. Following are the details for the same:

  • Rank 1: Rs. 5000 + 250 CodeChef laddus.
  • Rank 2: Rs. 3000 + 250 CodeChef laddus.
  • Rank 3: Rs. 2000 + 250 CodeChef laddus.


The contest is free for all to participate. But it is mandatory to register on Advaita and then on Blueprint event to be eligible for any of the prizes.

See you on leaderboard ;-)

Note: The contest is unrated.

This question is marked "community wiki".

asked 03 Feb, 19:04

bhushan_'s gravatar image

accept rate: 9%

wikified 05 Feb, 12:01

On Contest page, duration is written 3 hours but end time - start time given here is 2 hours!

(04 Feb, 23:05) shivam_g14705★

@shivam_g1470 My apologies, it is fixed now. Thanks for reporting :)

(05 Feb, 00:25) bhushan_5★

@raman3217, your code is giving wrong no of scc's. For e.g
1 3 6 7 1 2 2 3 3 1 2 4 4 5 5 6 6 4 no of scc are 2, whereas your code gives 6.


answered 07 Feb, 00:01

nine_tails9's gravatar image

accept rate: 0%

edited 07 Feb, 00:20

Thank you!!

found my error!!

I was Checking vis[x]!=0 in my dfs1() instead of its neighbours.

(07 Feb, 00:31) raman32174★

regarding question

my solution approach is to find the no of sccs and check if k<(no of sccs) then answer is -1

else ans=ncr(k,no of sccs )*factorial[no of sccs]

can anybody check what is wrong in my approach


answered 06 Feb, 23:41

raman3217's gravatar image

accept rate: 12%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 03 Feb, 19:04

question was seen: 258 times

last updated: 07 Feb, 00:31