fcspartakm's blog

By fcspartakm, history, 2 months ago, translation, In English,
Tutorial is loading...
Tutorial is loading...
Tutorial is loading...
Tutorial is loading...
 
 
 
 
  • Vote: I like it  
  • +23
  • Vote: I do not like it  

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Where can we get the questions in english?

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Why can't I participate in this contests?

»
2 months ago, # |
  Vote: I like it +5 Vote: I do not like it

I think that k = 0 is a special case in the problem D.

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

What is test 49 for problem C???

I get WA on it, and couldn't understand what I did wrong, Can anyone please see my code:

25221347

  • »
    »
    2 months ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Yes!!! I also asked about it and I got this message:

    There is some bug within this algorithm. I find out some kind of data that can prove it wrong.

    7 4 18
    ..X.
    ....
    ....
    ....
    .**.
    ....
    *b..
    

    This version of code's answer is
    DDDLLDDRDULUURRUUU
    But the true answer should be
    DDDLLDDRDRRUUUUUUL Arriving the position "b", obvoiusly the previous answer is not the good one.

    I have submited another code for this problem and got it accepted.

    Thank you.

    Hope it helped

    • »
      »
      »
      2 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Exactly :D

      finally I knew whats wrong with my approach, thanks a lot man, I owe you one :)

    • »
      »
      »
      2 weeks ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      BTW, the correct answer for this case is DDDLLDDRDRRUUULUUU since 'L' is minimal than 'U' Hope you update it soon enough, Thank you!

  • »
    »
    2 weeks ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    I did the same reversal algorithm 26987013 and was so mad how it didn't pass although I'm choosing the minimal each step! Thanks so much for that lovely hack! :)