Seyaua's blog

By Seyaua, 13 years ago, In English
Hi to everybody from sunny Petrozavodsk!

Today me and my brother sdya prepared a few interesting problems for you. Because of very tight schedule in Petrozavodsk training camp, that includes rafting and watching anime all night long, we didn't have time to write long problem statements. So enjoy unambiguous short statements and you are welcome to invent some legends for them on your own.

Good luck and have fun!

Contest is over! Congratulations to winners!

Division 1:
  1. dolphinigle
  2. ilyakor
  3. marek.cygan
Division 2:
  1. wuzhengkai
  2. jayi
  3. superpear
Editorial.
  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
thanks Seyaua &  sdya for preparing and creating problems.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Sounds like a pretty awesome training camp.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Just a little mistake "invent some legends for them on you own." Must be "invent some legends for them on your own."
13 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Seyaua & sdya, you guys look exactly the same in the pictures ;-)
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Thanks to problemset I hope enjoy the problems.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
which anime you guys finished recently ?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Man I love these training camps you guys get to attend. I wish I could, but none happens in my part of the world. :( Hopefully some day I'll conduct one, when I am RED. ;)
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Is the judge dead?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
what happened with the judge?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
very slow testing
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
How can I lock my solution?
The "lock" icon disappeared.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I like statements :)
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
unrate this round, please...
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    why? queue testing became normal after 20 min.
    • 13 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it
      20 mins = 40+++ points,, if you know your solution is wrong after a very slow judging..
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    No, please, NO unrate!
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    That's a real awkward situation when you get to know that your solution was wrong after 20 minutes of submitting and you are coding the next problem.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
nice problems :)
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
good short mathematical questions.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I wanted to use custom test feature, but it was disabled. :(
Anyway, thanks for the good problems.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
In problem B i know the size 2n*2n but i didn't notice he give me the input 2n not n
i solved the problem as the input=n so i didn't divide by 2
so just n/2 ----> passed  :( :( :( :(

13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I love these short and challengeable problems.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Petya and divisors .... Nice problem  . But unfortunately i wasn't able to solve it. :(
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Looks like I am not getting the statement right :-

    For the case 18 4.

    Why is 6 not a solution, it does not divide any of 14,15,16,17 . Or did I miss something miniscule.

    Thanks.
    • 13 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it
      The 4 in "18 4" refers to the four lines above,
      4 0
      3 1
      5 2
      6 2
      

      18 has 6 divisors: 1,2,3,6,9,18, and only two of them do not divide 4,3,5,6.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Can anybody tell me how testing is done when there are multiple solution for test case, like in todays div2 Problem C.
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    It checks to see if your solution satisfies the constraints...
  • 13 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Algorithm for checker.

    If solution prints anything and it is correct- AC (it is easy to check 2 conditions)
    If solution prints anything but not correct - WA
    If solution prints -1, and jury prints -1 AC
    If solution prints -1, but jury have answer WA
  • 13 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Testing procedure is not always exactly full comparing of your answer and jury answer.
    Usually authors write special program - checker, that checks your answer, using input and jury output for this test. Moreover, sometimes checker program can be much more difficult then solution.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I made a funny mistake, failed my C because I thought that 1<<6 is less than 40 :-)
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
In division 2, C; test 50 looks like that: 2 1 1 and the supposed answer is 0 1. However, in problem it is said that all the numbers should be positive integers, it means 1 or greater. So with n=2, it is impossible to satisfy y=1. My answer was -1 then, but i got WA.
Did I miss something or it is a mistake in author's solution?
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    No, your answer is 0 1, and the correct one is -1. At least, that's what I see below your solution.
    • 13 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it
      Ah damn, it always confuses me... Sorry for my useless post.
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Your answer is not "-1" but "0 1".
    You can see checker message in test protocol.

    In test 50 for your solution message is: "wrong output format All numbers must be positive, but the 1-th isn't (1-based)."
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Excellent contest like it (though my rating went down)
Can anyone help me with the problem Div1C.....
How the answer for input 4 4 is 12............... 
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    OXOO
    OOOX
    XOOO
    OOXO

    X - spots, where all the spiders ends up, you can reach an X from any square.
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    finally spiders at :
     (1,3)
    (2,1)
    (3,4)
    (4,2)

    (numbering starts from1 )
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
This is the first time in my life I've become Blue.

Nice Problem-set.
but I don't know why the judge queue took so much time.

13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I think brief description is cool. With possibly as much mathematical expressions as possible to reduce ambiguity.
Thanks  Seyaua and sdya for problems :)
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    ya bro...i loved the problem c...nice greedy...and look at the input set man....!!! when you go to check (Y-n+1)^2 here there remains input like 100 1 1... really cool...rare experience\m/
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Nice short-statements problem set!
Any one else didn't see the n.m<=40 constraint in C DIV-1?
  • 13 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Many didn't see (at least three other persons except me), that's why I personally don't like the round.

    UPD: Yeah, baby, give me more minuses, people never like truth =)
    • 13 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it
      It could have been more clear this way (same meaning):
      The first line contains two space-separated positive non-zero integers n and m (1 ≤ n·m ≤ 40) — the board sizes.
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    It takes me about 45 minutes to find a solution for 1600 cells and after beind disappointed, I read the problem once again and saw that it is n.m<=40 not n,m<=40
    • 13 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it
      Ohhhhh and I just realized!! I can't believe myself.

      n x m  would have been a lot clearer
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Finally Petr owns both TC and CF.
13 years ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

Is there any way to see on which test case my solution was hacked i.e. the hacker's input during the contest?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Can someone please explain the solution of problem E from Div 2? :D
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    It is basically brute-force but reducing complexity to solvable limits by using memoization/bottom-up DP.
    1.first rotate the grid such that smaller side remains at top, which is of length <= 6. (sqrt(40)).
    2.then try all possible subsets (2^6).
    3.any particular state is given by settled spiders in curr. row and prev row. and the curr row number.
    4.Easy if you have solved similar problems previously.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
it isn't fair!
the timer should be started as a problem is opened or at least when someone enters the contest area!
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    But your first submission was only after 34 minutes, when judge has already begun to work properly
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    I think this is a fair complaint.
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    As I understood this complain is not related to today's incident, but for CodeForces format as well. But it's the rules - the timer starts at the set time.
    But seriously, I don't get what isn't fair - that's the rules of this competition. It's like arriving late to a rock star concert and complaining afterwards that he started before you arrive. The advantages and disadvantages of particular format (CodeForces/ACM/TopCoder/IOI etc.) is another topic.
    Sorry if I misunderstood your post.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
yes, but I entered the room 26 minutes after the beginning and it should be 8 nor 34!
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Why? This is not TopCoder.
    Here time is calculated like ICPC style, from the beginning of the contest. You can read about this rules in FAQ.
    And anyway, you've missed the time when judge had troubles.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Hi! This was a great round, except for some technical issues that we all noticed, but oh well, they didn't really affect anyone's score in my opinion :D When is the editorial going to be available?
13 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Editorial eagerly awaited !!
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
The next context is coming soon.But the editorial still isn't available!
  • 13 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Not only the contest (#86), its editorial too!
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
What an elongated "soon" you mentioned. The tutorial isn't available yet! :O
»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

?detaR tI sI