Tutorial is loading...

Tutorial is loading...

Tutorial is loading...

Tutorial is loading...

# | User | Rating |
---|---|---|

1 | tourist | 3496 |

2 | Um_nik | 3337 |

3 | Petr | 3298 |

4 | W4yneb0t | 3218 |

5 | Radewoosh | 3216 |

6 | OO0OOO00O0OOO0O0…O | 3188 |

7 | Syloviaely | 3168 |

8 | izrak | 3109 |

9 | anta | 3106 |

10 | fateice | 3099 |

# | User | Contrib. |
---|---|---|

1 | tourist | 184 |

2 | rng_58 | 170 |

3 | csacademy | 165 |

4 | Petr | 158 |

5 | Swistakk | 154 |

6 | lewin | 149 |

7 | Errichto | 147 |

8 | matthew99 | 146 |

9 | adamant | 141 |

9 | Zlobober | 141 |

Tutorial is loading...

Tutorial is loading...

Tutorial is loading...

Tutorial is loading...

↑

↓

Codeforces (c) Copyright 2010-2018 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Feb/22/2018 15:51:42 (d1).

Desktop version, switch to mobile version.

User lists

Name |
---|

Where can we get the questions in english?

Click

Why can't I participate in this contests?

I think that

k= 0 is a special case in the problem D.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

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.

This version of code's answer is

DDDLLDDRDULUURRUUUBut the true answer should be

DDDLLDDRDRRUUUUUULArriving 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

Exactly :D

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

BTW, the correct answer for this case is

DDDLLDDRDRRUUULUUUsince'L'is minimal than'U'Hope you update it soon enough, Thank you!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! :)

I am getting a WA on test 9 on this. Can someone please help?

This is my submission.