
AtCoder
红牛不是啥
这个作者很懒,什么都没留下…
展开
-
【AtCoder Beginner Contest 164】D - Multiple of 2019
题目链接問題文1 から 9 までの数字のみからなる文字列 SS の倍数である。制約1≤|S|≤2000001≤|S|≤200000 は 1 から 9 までの数字のみからなる文字列入力入力は以下の形式で標準入力から与えられる。SS出力条件を満たす整数の組 (i,j)(i,j)) の総数を出力せよ。入力例 1 CopyCopy18171...原创 2020-04-27 11:09:24 · 342 阅读 · 0 评论 -
【 AtCoder Beginner Contest 162】D - RGB Triplets
Score : 400400 pointsProblem StatementWe have a string SS.Constraints1≤N≤40001≤N≤4000 consisting of R, G, and B.InputInput is given from Standard Input in the following format:NN...原创 2020-04-13 14:49:59 · 174 阅读 · 0 评论