Tutorial is loading...

Tutorial is loading...

Tutorial is loading...

Tutorial is loading...

Before contest

Codeforces Round #476 (Div. 2) [Thanks, Telegram!]

10:43:25

Register now »

Codeforces Round #476 (Div. 2) [Thanks, Telegram!]

10:43:25

Register now »

*has extra registration

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

1 | Petr | 3325 |

2 | OO0OOO00O0OOO0O0…O | 3289 |

3 | Um_nik | 3278 |

4 | Syloviaely | 3274 |

5 | tourist | 3206 |

6 | Radewoosh | 3197 |

7 | V--o_o--V | 3167 |

8 | mnbvmar | 3096 |

9 | dotorya | 3086 |

10 | FizzyDavid | 3023 |

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

1 | tourist | 183 |

2 | rng_58 | 168 |

3 | csacademy | 161 |

4 | Petr | 160 |

5 | lewin | 151 |

6 | Swistakk | 150 |

7 | matthew99 | 142 |

8 | BledDest | 141 |

9 | Errichto | 140 |

10 | adamant | 139 |

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: Apr/25/2018 09:51:36 (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.