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


Incorrect statement of problem G3


I have noticed that the problem statement of is incorrect. Firstly, the condition 1 <= p1 < p2 < ... < pn <= 10 in the input does not make sense as n can be up to 10000. The condition also is not true in the tests (checked using assert). Additionally, the link of the figure used in the statement is broken.

Just wanted to report it. Hopefully, the statement will be fixed as the problem itself is nice :)

asked 03 Nov '17, 03:46

karolis_kusas's gravatar image

accept rate: 0%


Thanks for reporting. The constraints have been fixed. But we are unable to recover the picture. But the problem seems quite clear without it.


answered 16 Nov '18, 15:12

admin's gravatar image

0★admin ♦♦
accept rate: 36%

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 Nov '17, 03:46

question was seen: 245 times

last updated: 16 Nov '18, 15:12