ARC113
3問
https://gyazo.com/75df50274246be175b1b7ecc706b3d64
https://gyazo.com/c221fd9d347a749f911fa22717c94510
A,B,Cのすべてが2*10**5の範囲を動くと8*10**15で間に合わない
だけどAが2の時はBは半分の範囲しか動かないし、A,Bが決まればCの範囲は計算で決まる
code:py
def main():
K = int(input())
ret = 0
for A in range(1, K + 1):
maxB = K // A
for B in range(1, maxB + 1):
maxC = maxB // B
ret += maxC
print(ret)
code:py
def main():
A, B, C = map(int, input().split())
for i in range(32):
doubling.append(
)
BC = 1
for i in range(32):
if C % 2:
BC %= 20
C //= 2
if BC == 0:
BC = 20
ret = (A % 10) ** BC
ret %= 10
print(ret)
code:py
def main():
S = input().strip().decode('ascii')
from collections import defaultdict
count = defaultdict(int)
ret = 0
prev = None
for i in reversed(range(len(S) - 2)):
d = (len(S) - 2) - i
d -= count[Si] - 1 # except Si + 1 ret += d
count = defaultdict(int)
p = len(S) - i
else:
prev = None
print(ret)