import math
import sys
# Auto-generated code below aims at helping you parse# the standard input according to the problem statement.
n =int(input())
j =1
h =0for i inrange(1, n +1):
j *= i
h += i
print(j)print(h)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
import sys
import math
# Auto-generated code below aims at helping you parse# the standard input according to the problem statement.
h =int(input())for i inrange(6):
h = h*2print(h)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
import sys
import math
# Auto-generated code below aims at helping you parse# the standard input according to the problem statement.
a, b =[int(i)for i ininput().split()]
n =int(input())for i inrange(n):
x =int(input())print(a*x + b)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
import sys
import math
# Auto-generated code below aims at helping you parse# the standard input according to the problem statement.
time =int(input())
speed =int(input())# Write an answer using print# To debug: print("Debug messages...", file=sys.stderr, flush=True)print(int(time/60*speed))
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
import sys
import math
# Auto-generated code below aims at helping you parse# the standard input according to the problem statement.
count =int(input())for i ininput().split():
n =int(i)print(f"[x] {n}"if n %2!=0elsef"[ ] {n}")
Table of Contents正文写在最后END正文登录后复制 import mathimport sys# Auto-generated code below aims at helping you parse# the standard input according to the prob...