随笔分类 - 矩阵
摘要:Problem Description:春天到了, HDU校园里开满了花, 姹紫嫣红, 非常美丽. 葱头是个爱花的人, 看着校花校草竞相开放, 漫步校园, 心情也变得舒畅. 为了多看看这迷人的校园, 葱头决定, 每次上课都走不同的路线去教室, 但是由于时间问题, 每次只能经过k个地方, 比方说, 这...
阅读全文
摘要:Problem Description:FFZ's birthday is coming. GTY wants to give a gift to ZZF. He asked his gay friends what he should give to ZZF. One of them said, ...
阅读全文
摘要:Description:In the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn− 1+Fn− 2forn≥ 2. For example, the first ten terms of the Fibonacci sequence are:0,...
阅读全文
摘要:E-pang Palace was built in Qin dynasty by Emperor Qin Shihuang in Xianyang, Shanxi Province. Itwas the largest palace ever built by human. It was so l...
阅读全文
摘要:Problem Description:Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1 x 1 or grea...
阅读全文
摘要:根据条件求任意子矩阵#include#include# define N 1100int a[N][N];typedef struct data{ int x, y, da;}DATA;DATA d[30];void Start(){ int i, j; for (i = 1; i = p && d...
阅读全文
摘要:矩阵的特殊角旋转:0 90 180 270#include#includeint main (){ int T, n, m, i, j, k; char s[100][100]; scanf("%d", &T); while (T--) { scan...
阅读全文
浙公网安备 33010602011771号