Retired

Vasya and Plates (retired)

85 of 283AlexIsHappy
Description
Loading description...
Puzzles
Algorithms
Logic
Mathematics
Numbers
Fundamentals
  • Please sign in or sign up to leave a comment.
  • oldcoder Avatar

    I didnt like the description even I got the solution

  • user9644768 Avatar

    Please use new python test framework.

  • rowcased Avatar

    C Translation kumited (with random tests). Author is inactive, thanks.

  • FArekkusu Avatar

    No random tests.

  • didierj Avatar

    The following expected value is wrong b=3, p=1, dishes:1/1/2/2/2/2 FAILED:: Expected: 2 But was: 1

  • appsincaps Avatar

    Who is Valera?

  • hamc17 Avatar

    "then on day i Valera will eat a first type dish" should be "then on that day, Vasya will eat the first type of dish".

  • dlemvigh Avatar

    the wording of the question, seems to written by a non-native english speaker

  • MMMAAANNN Avatar

    This comment has been hidden.

  • g964 Avatar

    Coffee translation kumited.

  • g964 Avatar

    Python translation kumited. Did you see my Ruby translation of Vasya and system of equations?

  • g964 Avatar

    Ruby translation kumited from holidays:-)

  • renzhentaxi Avatar

    should say that vasya only washes one bowl/plate at a time

  • renzhentaxi Avatar

    for test case 11 you have 3 bowls 1 plate and the order is 112222 day one you use 1 bowl: you will have 2 bowls and 1 plate left day 2 you use 1 bowl: you will have 1 bowl and 1 plate left day 3 use plate: 1 bowl 0 plate left day 4 use bowl: o bowl o plate wash : 3 bowl 1 plate day 5 use plate: 3 bowl 0 plate day 6 use bowl: 2 bowl 0 plate you only need to wash once but the test case says it needs 2. Is there an error with test case11 or am i doing it wrong??

  • AutDawg Avatar

    Nice Kata I thought it would be easier than it was.

  • g964 Avatar

    Good kata but

    1. "Your test cases" don't work
    2. "Submit" and "Submit Final" work
    3. You ask for a string for the return of "CountClean" but the tests are expecting an int. PS: Are you on holidays? I proposed translations for "Vasya and System of Equations" but I have no news from you...
  • wthit56 Avatar

    Honestly, I couldn't make head nor tails of the description. I don't understand what the inputs are, how you know if he will be eating from a bowl or a plate each day, how to calculate the washing up... No clue.