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


Invitation to ProCon 2018


We at IIIT-Delhi would like to invite you to ProCon 2018, the annual programming contest conducted as a part of our technical festival — Esya. It will start at 21:00 IST on 16th August, 2018. There will be 6 problems of varying difficulty to be solved within a duration of 2 hours, with ACM-ICPC style scoring. The contest will be rated for everyone (Division 1 and Division 2). Top participants will be rewarded CodeChef Laddus. Moreover, there will be Cash Prizes for the Top 3 Indian contestants.

Happy Coding!

asked 14 Aug '18, 22:38

meetsid20's gravatar image

accept rate: 0%

Solution 1 :- Solution 2 :-

Hey can u tell me why the solution 1 is not working while the solution 2 is giving the correct answer . The only difference between them is in first solution i have used the setprecision and in the second one i have used printf()


answered 17 Aug '18, 00:20

gargaddy2202's gravatar image

accept rate: 0%

srry i forgot to add the question link Question link :-

(17 Aug '18, 00:22) gargaddy22023★

You didn't use fixed with cout.

(17 Aug '18, 00:53) meetsid204★

Is there any difference on relative error if fixed is used?

(17 Aug '18, 01:00) ankit_gupta_5★

Yes, there might be a difference. This is because setprecision defines the total number of digits to be printed when used without fixed (default format) rather than the number of digits after the decimal point.

(17 Aug '18, 05:26) meetsid204★

I am not able to open anyone's submission... why not ?


answered 17 Aug '18, 10:32

l_returns's gravatar image

accept rate: 25%

edited 17 Aug '18, 10:37

yeah i tried to edit my answer... but its not working....
edit: I am not able to open anyone's submission from contest... why not ?

(17 Aug '18, 10:40) l_returns5★

thanks for links though...

(17 Aug '18, 10:43) l_returns5★

This contest is very comfortable, thank you very much for preparing the contest. WoW


answered 17 Aug '18, 15:03

freeloop's gravatar image

accept rate: 47%

Can anyone pls provide the editorial of ALGEBRA SCORE


answered 17 Aug '18, 15:21

spverma's gravatar image

accept rate: 0%

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: 14 Aug '18, 22:38

question was seen: 335 times

last updated: 17 Aug '18, 15:03