When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

Than0th's blog

By Than0th, 12 months ago, In English

Months ago i solved a problem but i cant remember its name the task description is about a soda can's where there are a group of friends consist of five friends in a line to buy the soda and after the first person buy a soda he go to the end of the line and be doubled, hope you help me plz, sorry for bad description :)

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
12 months ago, # |
  Vote: I like it +39 Vote: I do not like it
  • »
    »
    12 months ago, # ^ |
      Vote: I like it -9 Vote: I do not like it

    How can you actually remember the problem

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

      I saw it not too long ago. I remembered about as much as the OP but also that it was about the big bang theory. So I searched for "sheldon codeforces".