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

×

Gettting wrong ans in kth largest element in stream of integer.

I am getting wrong ans in problem Kth largest element in a stream on geeks for geeks.

my solution : https://pastebin.com/6pnC3bfF

asked 11 Mar, 09:36

arpit728's gravatar image

1★arpit728
6831968
accept rate: 10%


the link for pastebin is no longer working. It says that the page has been removed.

link

answered 11 Mar, 14:50

devansh1497's gravatar image

4★devansh1497
213
accept rate: 0%

It seems to be working for me though.

(11 Mar, 20:55) akash19jain3★
(11 Mar, 22:32) arpit7281★

@devansh1497 @akash19jain

Did you get a chance to look into this?

(14 Mar, 07:51) arpit7281★
toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×862
×801

question asked: 11 Mar, 09:36

question was seen: 104 times

last updated: 14 Mar, 07:51