Lv.1
来自ZJ的初中OIer
签名:slogan更新不了了,不更新了
在 【SIRI精选】第二期--模拟系统哪家强 中回复
https://diyanqi.gitee.io/amazingcodehome.github.io/Windows10
👆Windows10虚拟机
2020-05-10T12:58:48 点赞:0
在 【教程】利用python获取最古老的人 中回复
改进版:
import requests
for i in range(1,100000000):
print(str(i+1)+';')
if requests.get('https://api.cod喵/api/user/works/publish\
ed?user_id='+str(i+1)+'&types=1,3,5').content==b'{"co\
de":7001,"msg":"\xe7\xa9\xba\xe6\x95\xb0\xe6\x8d\xae","description":"no_data","data":{}}':
print('done!the oldest user is '+str(i))
dd
2020-05-13T19:06:22 点赞:0
在 【教程帖】算法入门 三、尾递归(简单CU暴) 中回复
这个,能用while的尽量别用递归……
递归占用空间大,时间慢,效率低下……
不是DFS或堆的题千万别用递归(忠言逆耳利于行)
例如,我上次作喵不用while用DFS,保灵QWQ
2020-05-13T19:21:25 点赞:0