square

LeetCode-Java题解 977. Squares of a Sorted Array

题目地址:[977. Squares of a Sorted Array](https://leetcode.cn/problems/squares-of-a-sorted-array/) 解题思路: 又是一道双指针的题目,看见秒想到双指针(平方直接调用sort方法也行,但是这么写这题就没意思了)。 ......
题解 LeetCode-Java LeetCode Squares Sorted

Fast Inverse Square Root

# Fast Inverse Square Root 同时包含 Approximation theory and method ch11. > https://www.youtube.com/watch?v=p8u_k2LIZyo > > Fast Inverse Square Root(快速倒数平 ......
Inverse Square Fast Root

[USACO1.2]回文平方数 Palindromic Squares

# [USACO1.2]回文平方数 Palindromic Squares ## 题目描述 回文数是指从左向右念和从右向左念都一样的数。如 12321 就是一个典型的回文数。 给定一个用十进制表示的正整数 B,输出所有 [1,300] 中,它的平方用 B 进制表示时是回文数的数。 ## 输入格式 共 ......
回文 Palindromic Squares USACO1 USACO

XCPC真题(1):Bits Reverse | Empty Squares | Wall Painting

🎈 作者:Eriktse 🎈 简介:19岁,211计算机在读,现役ACM银牌选手🏆力争以通俗易懂的方式讲解算法!❤️欢迎关注我,一起交流C++/Python算法。(优质好文持续更新中……)🚀 🎈 阅读原文获得更好阅读体验:https://www.eriktse.com/algorithm/ ......
真题 Painting Reverse Squares Empty

[ABC299F] Square Subsequence

Problem StatementYou are given a string $S$ consisting of lowercase English letters. Print the number of non-empty strings $T$ that satisfy the follow ......
Subsequence Square 299F ABC 299

「解题报告」AGC013E Placing Squares

~~想了一会然后看题解,翻到日文题解然后又关了,然后突然会了,怎么回事~~ 第一眼生成函数!做不了。 考虑经典拆贡献方法,把平方的贡献变成从区间中选两个数的方案数。这样我们可以用一个 DP 来计数。 设 $f_{i, j}$ 表示到了第 $i$ 格,已经选了 $j$ 个数的方案数。如果没有限制,那么 ......
Placing Squares 报告 013E AGC

【题解】[ABC299F] Square Subsequence(DP)

【题解】[ABC299F] Square Subsequence 题目链接 [ABC299F] Square Subsequence 题意概述 给定一个由小写英文字母组成的字符串 $S$。计算满足以下条件的非空字符串 $T$ 的数量,答案对 $998244353$ 取模。 将 $T$ 复制一倍形成 ......
题解 Subsequence Square 299F ABC
共37篇  :2/2页 首页上一页2下一页尾页