摘要:
Problem StatementWe have a sequence of positive integers of length $N^2$, $A=(A_1,\ A_2,\ \dots,\ A_{N^2})$, and a positive integer $S$. For this sequ 阅读全文
posted @ 2023-07-25 19:46
灰鲭鲨
阅读(26)
评论(0)
推荐(0)
摘要:
Problem StatementFind the number, modulo $998244353$, of permutations $P=(P_1,P_2,\dots,P_N)$ of $(1,2,\dots,N)$ such that: $|P_i - i| \ge X$ for all 阅读全文
posted @ 2023-07-25 19:27
灰鲭鲨
阅读(33)
评论(0)
推荐(0)
摘要:
Problem StatementThere is an $N \times M$ grid, where the square at the $i$-th row from the top and $j$-th column from the left has a non-negative int 阅读全文
posted @ 2023-07-25 19:20
灰鲭鲨
阅读(31)
评论(0)
推荐(0)
摘要:
# [省选联考 2023] 填数游戏 ## 题目描述 众所周知,Alice 和 Bob 是一对好朋友。今天,他们约好一起玩游戏。 一开始,他们各自有一张空白的纸条。接下来,他们会在纸条上依次写 $n$ 个 $[1,m]$ 范围内的正整数。等 Alice 写完,Bob **在看到 Alice 写的纸条 阅读全文
posted @ 2023-07-25 19:08
灰鲭鲨
阅读(82)
评论(0)
推荐(0)

浙公网安备 33010602011771号