ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2100. Wedding Dinner

Possible way to solve it (Python)
Posted by Mahilewets 14 May 2017 17:31
Set answer as (2+n).
Then n times repeat answer+="+one"in set(input()).
"+" in set(input ())  is also enough.