java.sql.SQLIntegrityConstraintViolationException: Column 'category' cannot be null:(category没有值)1.首先查看控制层是否可以拿到客户端提交的数据2.没有拿到数据就要检测表单提交时,参数名是定义的 但是我检 ...
分类:
数据库 时间:
2020-06-05 13:16:26
阅读次数:
371
题目描述 输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。 示例 1: 输入:matrix = [[1,2,3],[4,5,6],[7,8,9]] 输出:[1,2,3,6,9,8,7,4,5] 示例 2: 输入:matrix = [[1,2,3,4],[5,6,7,8],[9,10,1 ...
分类:
其他好文 时间:
2020-06-05 12:55:05
阅读次数:
55
Given a m * n matrix mat and an integer K, return a matrix answer where each answer[i][j] is the sum of all elements mat[r][c] for i - K <= r <= i + K ...
分类:
其他好文 时间:
2020-06-04 23:16:41
阅读次数:
110
\[ \texttt{Description} \] 有一个名为 233 的矩阵 a。 对于第一行,有 \(a_{0, 1} = 233\),\(a_{0, 2} = 2333\),\(a_{0,3} = 23333\) ... 对于 \(\forall i, j \neq 0\),有 \(a_{i ...
分类:
其他好文 时间:
2020-06-04 21:37:22
阅读次数:
59
地址:http://poj.org/problem?id=2182 题意: N头奶牛排队,它们的身高为1~n,已知每头牛前面有多少头比自己矮,求每头牛的身高。 解析: 输入其实是从i=2开始的 暴力代码:跑了438M #include<iostream> #include<cstdio> using ...
分类:
编程语言 时间:
2020-06-04 01:02:04
阅读次数:
64
adapted from poj 2482 Fleeting time does not blur the memory of you. Has it really been three years since i first saw you? I still remember, vividly, ...
分类:
其他好文 时间:
2020-06-03 17:25:52
阅读次数:
89
众所周知,alist文件是一种保存稀疏矩阵格式,常用于保存LDPC码的校验矩阵与生成矩阵。 Matrix File Formats - TU Kaiserslautern提供了一个信道编码的数据库,并给出了数据库中信道编码的校验矩阵的存储方法和格式。 这种格式也见于alist format Data ...
分类:
编程语言 时间:
2020-06-03 17:14:49
阅读次数:
101
by 闲欢 上节我们讲了 Python 的图像处理库 PIL 的基本图像处理功能,打开了 PIL 的神秘面纱。这节我们接着讲 PIL 的 Image 模块的常用方法。 Image 模块的方法 convert Image.convert(mode=None, matrix=None, dither=N ...
分类:
其他好文 时间:
2020-06-03 14:00:02
阅读次数:
66
矩形脉冲在实际应用中十分常见,数字信号可以看做是上下跳变沿构成的很多矩形脉冲串,脉冲雷达也以周期矩形脉冲作为发射信号。 假设周期矩形脉冲信号为$f(t)$,如下图所示 $f(t)$的数学表达式可以写成 \[ f(t) = \{ \begin{matrix} E& nT-\frac{\tau}{2}< ...
分类:
其他好文 时间:
2020-06-03 00:51:05
阅读次数:
264
/* example1.c */ /* */ /* This small program shows how to print a rotated string with the */ /* FreeType 2 library. */ #include <stdio.h> #include <st ...
分类:
其他好文 时间:
2020-06-01 20:50:42
阅读次数:
54