Skip to content

Commit db1bf54

Browse files
author
IsHYuhi
committed
add ABC172
1 parent 5b52465 commit db1bf54

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ABC/ABC172/A.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
n = int(input())
2+
print(n+n**2+n**3)

ABC/ABC172/B.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
S = input()
2+
T = input()
3+
ans = 0
4+
for i, j in zip(S,T):
5+
if i!=j:
6+
ans += 1
7+
print(ans)

0 commit comments

Comments
 (0)