# Author:Winter Liu is coming! import time def process_bar(num, total): rate_num = int(num*100/total) if rate_num == 100: r = "\r{}{}%\n".format("*"*r ...
分类:
编程语言 时间:
2020-05-17 17:39:56
阅读次数:
81
1、查询数据库各个表空间利用率: SELECT Upper(F.TABLESPACE_NAME) "表空间名", D.TOT_GROOTTE_MB "表空间大小(M)", D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", To_char(Round((D.TO ...
分类:
数据库 时间:
2020-05-17 01:23:37
阅读次数:
109
题意描述 给定一个非负整数数组,找出其中累加和的最大值,并且相邻元素不能进行累加。 测试用例 Input: [1,2,3,1] Output: 4 Explanation: Total amount you can rob = 1 + 3 = 4. Input: [2,7,9,3,1] Output ...
分类:
其他好文 时间:
2020-05-17 01:20:57
阅读次数:
63
对接入库数据,有时候数据量比较大,需要分批入库,写了一个分批入库的小方法 if (!CollectionUtils.isEmpty(student)) { // 计数器 int count = 1; int total = student.size(); List<StudentEntity> st ...
分类:
编程语言 时间:
2020-05-15 17:58:00
阅读次数:
128
MySQL常用SQL 订单表:orders(id、no、user_id、shop_id、total_fee、phone、paid_at、status、created_at、updated_at) 订单明细表:order_items(id、order_id、shop_id、product_id、cat ...
分类:
数据库 时间:
2020-05-12 20:30:56
阅读次数:
96
Another OCD Patient Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2259 Accepted Submission(s) ...
分类:
其他好文 时间:
2020-05-12 18:40:48
阅读次数:
56
Poor Rukaw Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 223 Accepted Submission(s): 102 Proble ...
分类:
其他好文 时间:
2020-05-12 17:08:05
阅读次数:
54
http://poj.org/problem?id=3070 Language: Fibonacci Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25706 Accepted: 17173 Description In the ...
分类:
其他好文 时间:
2020-05-12 14:13:22
阅读次数:
52
#include<iostream> using namespace std; class Student { public: Student(const char*name,int age,float score); void show(); private: static int m_total ...
分类:
其他好文 时间:
2020-05-12 13:36:51
阅读次数:
51
string jsonText = "{'Total':'0','Rows':[{'id':'31','project':'6','project_name':'一卡通','name':'接口测试!','assignedTo':'zhangsan'," +"'realname':'张三','estS ...
分类:
编程语言 时间:
2020-05-11 18:32:39
阅读次数:
348