自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

nucleare的博客

任何坚持梦想的人,都值得我们尊敬

  • 博客(6)
  • 收藏
  • 关注

原创 Python P1424 小鱼的航程(改进版)

https://www.luogu.org/problemnew/show/P1424x, n = map(int, input().split())ans = (n//7)*5n %= 7while n > 0 : if x != 6 and x != 7 : ans += 1 x += 1 n -= 1print(ans*250)...

2019-06-22 15:36:49 2217

原创 Python P1008 三连击

https://www.luogu.org/problemnew/show/P1008a = []b = []for i in range(0, 10): a.append(str(i)) b.append(0)c = []for i in range(1, 10): for j in range(1, 10): if j == i : ...

2019-06-21 17:17:52 410

原创 Python P1909 买铅笔

https://www.luogu.org/problemnew/show/P1909n = int(input())ans = 9999999999999for i in range(3): a = list( map(int, input().split()) ) k = ((n+(a[0]-1))//a[0])*a[1] ans = min(ans, k)...

2019-06-21 14:28:37 1039

原创 Python P1089 津津的储蓄计划

https://www.luogu.org/problemnew/show/P1089k = -1sum, last = 0,0for i in range(12): a = int(input()) if(last + 300 < a) : k = i + 1 break last = last + 300 - a ...

2019-06-18 15:16:39 1669

原创 Python 输出整个字符画

https://www.luogu.org/problemnew/show/P1000print(""" ******** ************ ####....#. #..###.....##.... ###.......###### ...

2019-06-13 12:38:57 2586 1

原创 Python 保留小数位

https://www.luogu.org/problemnew/show/P14221.round()内置方法a = int(input())sum = 0if(a >= 401): sum += (a-400)*0.5663 a = 400if(a >= 151): sum += (a-150)*0.4663 a = 150sum += a*0.4...

2019-06-13 12:32:46 1796

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除