AtCoder 修行日記#83
83日目
ABCのC問題に取り組み中。
茶色レベルのD問題も余裕があれば取り組み中。
勉強用のコンテンツはここから。
https://kenkoooo.com/atcoder/#/table/
進捗と一言感想
[A問題] 1問(残り0問)
ABC179: Plural Form
特になし。
s = input() if s[len(s)-1] == "s": print(s+"es") else : print(s+"s")
[B問題] 1問(残り0問)
ABC179: Go to Jail
特になし。
n = int(input()) result = False count = 0 for i in range(n): a, b = map(int,input().split()) if a == b: count += 1 if count >= 3: result = True break else: count = 0 if result : print("Yes") else : print("No")
[C問題] 1問(残り128問)
ABC179: A x B + C
解けたけど、式の展開に時間がかかりました。ここら辺は慣れですね。
n = int(input()) count = 0 for a in range(1,n): count += (n-1)//a print(count)
参考
https://kenkoooo.com/atcoder/#/user/dandan611?userPageTab=AtCoder+Pie+Charts
Aizu Online Judge
www.youtube.com
目標
- まず、今年中に茶色コーダー
学習方針
- 参考:レッドコーダーが教える、競プロ・AtCoder上達のガイドライン【初級編:競プロを始めよう】 - Qiita
- 一日一題。(C問題までは!)
- コンテストにもなるべく参加する
- ちなみに言語はpython。
- つまったら10分くらいで解説資料、動画見る
以上。