middle_set @ 2017-11-20 00:16:10
我只学过一点py(至少还会用from...import...)
然而诡异的是,RE了
from math import *
p=int(input())
print(ceil(log10(pow(2,p)))) #直接log10计算位数
offset=1
s=str(pow(2,p,pow(10,500))-1)
l=len(s)
if l<500: #补零
offset=501-offset
for i in range(k-1):
print(0,end="")
if i%50==0:
print("") #换行
for i in range(l): #不能用 i in s 输出,因为无法计算换行
print(s[i],end="")
if (i+offset)%50==0:
print("")
by LateNightPoet @ 2018-01-29 20:42:31
不会py♂的渣渣仰望大佬
by soy_un_perro @ 2018-03-17 11:40:09
@LateNightPoet 2018-01-29 20:42 不会py♂的渣渣仰望大佬
by hulean @ 2018-08-14 10:56:18
不会py♂的渣渣仰望大佬
by EternalAlexander @ 2018-08-14 23:16:29
@middle_set 明明水的过 https://www.luogu.org/record/show?rid=8097811
by Seauy @ 2018-09-03 17:32:46
hhh
by Mitch谜团 @ 2019-08-30 17:08:13
不会py♂的渣渣仰望大佬