AtCoder Beginners Contest 079 [A to C]

AtCoder 初心者向けコンテスト079のメモ

A. Good Integer … I used regular expression to detect three or more repetition of the character. In Python3, this can be implemented with ([0-9])\1{2,} .

B. Lucas Number … I used a normal step by step calculation here. Not used memoization or any other technique as the objective of the question is just to get the last number.

C. Train Ticket … I couldn’t find the good solution on this. So I just listed all the possible cases. There should be better way to do. #TODO