首页 > TAG信息列表 > thi

Mysql GROUP_CONCAT函数多个字段合并的使用

select a.xcbh '现场编号',a.xz '被征收人' ,thz_fzmj '土地有证',round(thz_tdmj-thz_fzmj,2) '土地无证',thz_tdmj '土地合计(㎡)',i.房屋框架,i.房屋混合,i.房屋砖木,i.房屋面积合计㎡,t.主要附属物合计㎡_m³,g.其他附属物及青苗 from x as a left join typg_house_zd a

mysql建表时添加时间默认值只存储时分秒且自动存储

mysql建表时添加时间默认值只存储时分秒且自动存储 CREATE TABLE IF NOT EXISTS THI( THIId INT UNSIGNED AUTO_INCREMENT, t1 INT UNSIGNED NOT NULL, h1 INT UNSIGNED NOT NULL, i1 INT UNSIGNED NOT NULL, dataTime TIME NOT NULL,/*只存储时分秒*/ PRIMARY KEY (T

CF981E Addition on Segments

我觉得这么 NB 的题为什么只有 2200。 我们考虑用一个 bitset 来维护最大值的可能性。 每一个节点维护一个 bitset \(s\),\(s[i]\) 为 \(1\) 当且经当这个节点对应的区间的最大值可能为 \(i\)。 对于每个节点的 \(s\),初值是 \(s[0]=1\) 对于一个操作 \((l,r,k)\),我们显然可以拆成线

python的u,r,b分别什么意思?

python的u,r,b分别什么意思?   我们经常在python当中看到以下内容: print(u'hi\thi\thi') print(b'hi\thi\thi') print(r'hi\thi\thi') 在其他语言里没见过类似的,所以特此记录: u: 表示unicode字符串,默认模式,里边的特殊字符会被识别。 print(u'hi\thi\thi') 执行之后:hi hi hi b:

[复习]平衡树splay

#include<iostream>#include<cstdio>#include<cstring>#define read(a) a=init()using namespace std;struct node{ long long fa,ch[2],data,size,cnt;}t[10000003];long long n,root=0,tot=0,lei,thi;inline long long init()//快读{ long long a=0,b

背包问题

#include <stdio.h> #include <string.h> #include <stdlib.h> typedef struct thing { int cost; /* 代价 */ int value; /* 价值 */ }THING; THING *thi = NULL; /* 保存物品信息 */ int maxCost = 0; /* 总金额 */ int count = 0; /* 物品数 */ int maxValueTmp[10