2022年6月5日

python笔记

摘要: 1,#单行注释,''' '''多行注释 2,input输入值为str 3,避免小数位数过多 from decimal import Decimal print(Decimal('1.1')+Decimal('2.2')) 4,一次性读入多个数据 a, b, c = input('输入a,b空格隔开: 阅读全文

posted @ 2022-06-05 19:14 zesure 阅读(19) 评论(0) 推荐(0) 编辑

线段树板子题自用

摘要: 思路:单点修改,区间查询 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; const int INF=0xffffff0; const int maxn=10 阅读全文

posted @ 2022-06-05 15:46 zesure 阅读(21) 评论(0) 推荐(0) 编辑

导航