摘要: where 1=0; 这个条件始终为false,结果不会返回任何数据,只有表结构,可用于快速建表 "SELECT * FROM XXX WHERE 1 = 0"; 该select语句主要用于读取表的结构而不考虑表中的数据,这样节省了内存,因为可以不用保存结果集。 create table newta 阅读全文
posted @ 2022-06-27 18:00 YukiRinLL 阅读(50) 评论(0) 推荐(0)
摘要: 关于不同数据库的SQL中比较串的形式为NULL=NULL的返回值不同 Sybase 比较两个字符串的语句 当两个参数都为NULL的时候会返回true; 在SqlServer或者MySQL之类的关系型数据库里面,任一参数为NULL的时候返回值为false。 (关系型数据库的sql里面写NULL=NULL的判断一般返回的是false) 在做一些数据库SP迁移的时候注意判空 阅读全文
posted @ 2022-06-24 17:53 YukiRinLL 阅读(51) 评论(0) 推荐(0)
摘要: IntelliJ IDEA Community Edition 中使用插件进行 Tomcat 的配置 阅读全文
posted @ 2021-09-03 16:28 YukiRinLL 阅读(545) 评论(0) 推荐(0)
摘要: 启动报错 阅读全文
posted @ 2021-09-03 16:09 YukiRinLL 阅读(863) 评论(0) 推荐(0)
摘要: Tomcat在控制台的输出显示中文乱码 阅读全文
posted @ 2021-09-03 15:59 YukiRinLL 阅读(37) 评论(0) 推荐(0)
摘要: 简单的DIY 博客页面客制化 阅读全文
posted @ 2020-12-08 11:42 YukiRinLL 阅读(191) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/Gym-102680E/origin https://vjudge.net/contest/396206#problem/E Naughty Negligent Norbert has been given a notoriously repet 阅读全文
posted @ 2020-10-14 10:54 YukiRinLL 阅读(128) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/Gym-102680D/origin https://vjudge.net/contest/396206#problem/D Hooray! It's time for the obligatory problem concerning the 阅读全文
posted @ 2020-10-14 10:53 YukiRinLL 阅读(216) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/Gym-102680C/origin https://vjudge.net/contest/396206#problem/C In the deterministic land of Babbalon, founded by Charles Ba 阅读全文
posted @ 2020-10-14 10:51 YukiRinLL 阅读(147) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/Gym-102680B/origin https://vjudge.net/contest/396206#problem/B After visiting the Apple store and playing with the new iPad 阅读全文
posted @ 2020-10-14 10:48 YukiRinLL 阅读(162) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/Gym-102680A/origin https://vjudge.net/contest/396206#problem/A The Bi-Cameral Progress Committee loves making progress by p 阅读全文
posted @ 2020-10-14 10:45 YukiRinLL 阅读(107) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/ZOJ-4104/origin https://vjudge.net/contest/395635#problem/E DreamGrid has just found an integer sequence a_1, a_2, \dots, a 阅读全文
posted @ 2020-10-14 10:36 YukiRinLL 阅读(127) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/ZOJ-4107/origin https://vjudge.net/contest/395635#problem/H Baobao loves singing very much and he really enjoys a game call 阅读全文
posted @ 2020-10-14 10:32 YukiRinLL 阅读(146) 评论(0) 推荐(1)
摘要: https://vjudge.net/problem/ZOJ-4033/origin https://vjudge.net/contest/399385#problem/J DreamGrid has $n$ classmates numbered from $1$ to $n$. Some of 阅读全文
posted @ 2020-10-14 10:28 YukiRinLL 阅读(124) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-14 10:26 YukiRinLL 阅读(183) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/ZOJ-4025/origin https://vjudge.net/contest/399385#problem/B It's Karaoke time! DreamGrid is performing the song Powder Snow 阅读全文
posted @ 2020-10-14 10:21 YukiRinLL 阅读(134) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1010&cid=909 Reports Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K ( 阅读全文
posted @ 2020-09-23 14:44 YukiRinLL 阅读(78) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1007&cid=909 CCPC Training Class Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 26214 阅读全文
posted @ 2020-09-23 14:40 YukiRinLL 阅读(147) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1003&cid=909 Express Mail Taking Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 52428 阅读全文
posted @ 2020-09-23 14:36 YukiRinLL 阅读(119) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/394066#problem/C 代码: #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <bitset> #inclu 阅读全文
posted @ 2020-09-19 12:31 YukiRinLL 阅读(81) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/394066#problem/B https://vjudge.net/problem/Gym-102082B/origin 数据量大不能用数组查 用了二分,在test57的地方OT了,应该是算法有问题(待补题 附未通过代码: #include 阅读全文
posted @ 2020-09-19 12:30 YukiRinLL 阅读(86) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/394066#problem/A #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <bitset> #include < 阅读全文
posted @ 2020-09-19 12:25 YukiRinLL 阅读(84) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/393971#overview http://poj.org/problem?id=2431 A group of cows grabbed a truck and ventured on an expedition deep into the 阅读全文
posted @ 2020-09-19 12:24 YukiRinLL 阅读(147) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/CodeForces-474B/origin It is lunch time for Mole. His friend, Marmot, prepared him a nice game for lunch. Marmot brought Mo 阅读全文
posted @ 2020-09-19 12:19 YukiRinLL 阅读(167) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/393532#overview https://vjudge.net/problem/CodeForces-791A/origin Bear Limak wants to become the largest of bears, or at le 阅读全文
posted @ 2020-09-19 12:15 YukiRinLL 阅读(157) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=6880 根据长度为n的排列a,构造长度n-1的序列b 思路:DP 官方题解: 代码: #include<iostream> #include<cstdio> #include<cstring> #include<a 阅读全文
posted @ 2020-08-25 22:06 YukiRinLL 阅读(95) 评论(0) 推荐(0)
摘要: https://vjudge.net/problem/HDU-6879 题意: 给定S,r,c 构造一个r行c列的阵列。 对于没有炸弹的位置的数值为位置附近8个位置炸弹总数 保证炸弹总数S 代码: #include<iostream> #include<cstdio> #include<cstrin 阅读全文
posted @ 2020-08-25 21:47 YukiRinLL 阅读(96) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=6867 You are given a tree consisting of [Math Processing Error]n vertices numbered [Math Processing Error]1  阅读全文
posted @ 2020-08-22 01:06 YukiRinLL 阅读(133) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/389195#problem/C It is preferrable to read the pdf statment.After some basic geometric lessons, Cuber QQ has learned that o 阅读全文
posted @ 2020-08-17 21:56 YukiRinLL 阅读(158) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/389195#problem/F It is preferrable to read the pdf statment.Cuber QQ has signed up for a gambling game, that challenges him 阅读全文
posted @ 2020-08-17 21:51 YukiRinLL 阅读(90) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/388843#problem/I Notice:Don't output extra spaces at the end of one line.Given n,x,yn,x,y, please construct a permutation o 阅读全文
posted @ 2020-08-16 14:43 YukiRinLL 阅读(139) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/388843#problem/G Notice:Don't output extra spaces at the end of one line.Dodo bird and ddd are playing a stone game on a 2- 阅读全文
posted @ 2020-08-16 14:35 YukiRinLL 阅读(158) 评论(0) 推荐(0)
摘要: An undirected connected graph has $n$ nodes and $m$ edges, The $i$-th edge’s length is $2^i$. Each node $i$ has a value $a_i$, which is either $0$ or 阅读全文
posted @ 2020-08-11 16:25 YukiRinLL 阅读(151) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/387998#problem/I 题意: 判断证明:任意进制数y,如果y%x = 0,那么 (y所有位数之和)%x = 0 思路: 思维题 可以通过观察证明 参考证明方法:https://blog.csdn.net/m0_46209312/art 阅读全文
posted @ 2020-08-11 16:13 YukiRinLL 阅读(111) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/387998#problem/B Little Rabbit is interested in radix. In a positional numeral system, the radix is the number of unique di 阅读全文
posted @ 2020-08-11 16:00 YukiRinLL 阅读(223) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/387998#problem/A Because of the thriller adventure game The 3rd Building, there are fewer and fewer students who would like 阅读全文
posted @ 2020-08-11 15:51 YukiRinLL 阅读(92) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/387654#problem/I 算数学期望 对折和切刀都会使数量翻倍 横着切刀和上下对着效果相同,竖着切刀和左右对折效果相同 #include<iostream> #include<cstdio> #include<cstring> #incl 阅读全文
posted @ 2020-08-08 21:10 YukiRinLL 阅读(90) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_45458915/article/details/107804348 模拟题 给出 n 张叠在一起的纸,现在将其连续从左向右折叠 k 次,再从上到下标上序号,问展开后的序号是怎么样的 可以把展开看作一条纸带对折多次后形成的样子。 未通过,写完还 阅读全文
posted @ 2020-08-08 21:04 YukiRinLL 阅读(92) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/387654#problem/A 参考:https://blog.csdn.net/xiaotutuyahttp_/article/details/107822150 算数学期望,直角四面体的公式 #include<iostream> #incl 阅读全文
posted @ 2020-08-08 20:57 YukiRinLL 阅读(51) 评论(0) 推荐(0)
摘要: https://vjudge.net/contest/386568#problem/G Zhang3 is the class leader. Recently she's implementing a policy about long-distance running. This forces 阅读全文
posted @ 2020-08-03 21:35 YukiRinLL 阅读(83) 评论(0) 推荐(0)