最新 最热

面向对象-魔术方法

拦截点号运算。当对未定义的属性名称和实例进行点号运算时,就会用属性名作为字符串调用这个方法。如果继承树可以找到该属性,则不调用此方法

2022-09-08
1

POJ1149 PIGS 【最大流量】

Mirko works on a pig farm that consists of M locked pig-houses and Mirko can’t unlock any pighouse because he doesn’t have the keys. Customers come to the f...

2022-07-06
1

【小码匠自习室】ABC144-C:一个字:爽;两个字:好爽;三个字:特别爽

Takahashi is standing on a multiplication table with infinitely many rows and columns.

2022-06-16
1

【欧拉计划第 14 题】 最长的考拉兹序列 Longest Collatz sequence

考拉兹猜想(Collatz conjecture),又称为奇偶归一猜想、3n+1 猜想、冰雹猜想、角谷猜想、哈塞猜想、乌拉姆猜想或叙拉古猜想,是指对于每一个正整数,如果它是奇数,则对它乘 3 再加 1,如果它是偶数,则对它除以 2,如此循环,最终都能...

2022-06-03
1

has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multipl

通过zuul做代理,反向代理到对应的controller中,发现之前正常工作的接口突然不能正常工作了,最终通过浏览器调试模式发现

2022-03-29
3

VVC中图片的划分

在VVC中,输入的视频首先被划为为相等大小的块(最大支持划分为128×128大小的块,虽然VVC支持的变换的块最大尺寸为64×64),这些等大的块成为CTUs(coding tree units),每一个CTU都有Y、Cb、Cr三个等大的CU。...

2022-03-24
3

PAT(甲级)1105.Spiral Maxtrix(25)

PAT 1105 Spiral Matrix(25) This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is fil...

2022-02-25
1

PAT(甲级)1036.Boys vs Girls(25)

PAT 1036.Boys vs Girls(25) This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the fe...

2022-02-25
1

PAT(甲级)1003.Emergency(25)

PAT 1003.Emergency(25) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connec...

2022-02-25
1

Leetcode 题目解析之 Word Pattern

Given a pattern and a string str, find if str follows the same pattern.

2022-01-14
2