摘要: SELECT date_num/12 [year], date_num%12+1 [month], num FROM( SELECT YEAR(register_date)*12+MONTH(register_date)-1 date_num,count(*) num FROM [user] GRO 阅读全文
posted @ 2022-01-12 19:07 SHHHS 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 瞎写个数独生成器,可选择难度 #include <bits/stdc++.h> using namespace std ; int orign_map[10][10],ans_map[10][10]; int ans_cnt ; int pos_x[100],pos_y[100]; bool buc 阅读全文
posted @ 2019-07-26 22:29 SHHHS 阅读(318) 评论(0) 推荐(0) 编辑
摘要: #encding:GBK require 'tk' module Const WIDTH_OF_PANEL = 370 HEIGHT_OF_PANEL = 520 SIZE_OF_BUTTON_H = 60 SIZE_OF_BUTTON_W = 80 HEIGHT_OF_DISPLAY_FRAME = 90 HEIGHT_OF_VALUE_LABEL = 30 HE... 阅读全文
posted @ 2019-07-10 20:00 SHHHS 阅读(399) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <algorithm> #include <cstdio> #include <cstring> using namespace std ; const int maxNode = 400500 ; struct tireTree { int 阅读全文
posted @ 2019-05-16 16:00 SHHHS 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Tire树裸题,一开始写动态的字典树,然后TLE,每次new一个新节点耗费时间较多。后来改成数组模拟的。 //#include <bits/stdc++.h> #include <cstdio> #include <cstring> #include <algorithm> using namesp 阅读全文
posted @ 2018-11-09 14:00 SHHHS 阅读(283) 评论(0) 推荐(0) 编辑
摘要: A(HDU6124) #include <bits/stdc++.h> using namespace std ; int INPUT ( ) { int x=0,f=1;char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getc 阅读全文
posted @ 2018-10-30 22:44 SHHHS 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1 #include <bits/stdc++.h> using namespace std ; struct bigInt { int num[ 2000 ] ; int size ; static const int maxN = 2000 ; private : void Init ( ) { 阅读全文
posted @ 2018-10-28 18:57 SHHHS 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 开始存模板 快速排序 #include <cstdio> #include <algorithm> #include <iostream> using namespace std ; typedef long long ll ; const int maxN = 100010 ; int a[ ma 阅读全文
posted @ 2018-10-26 22:32 SHHHS 阅读(867) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-08-30 12:30 SHHHS 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 2048: [2009国家集训队]书堆 Time Limit: 10 Sec Memory Limit: 259 MBSubmit: 1076 Solved: 499[Submit][Status][Discuss] Description Input 第一行正整数 N M Output 一行(有换 阅读全文
posted @ 2016-10-29 00:57 SHHHS 阅读(501) 评论(0) 推荐(0) 编辑