#J. [愚人节 2026 J] 文化课学习中

    传统题 1000ms 256MiB

[愚人节 2026 J] 文化课学习中

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

有函数 f:RRf:\mathbb R\to\mathbb R,对于 x,yR\forall x,y\in\mathbb R,满足 f(x)f(y)=f(x+y)f(xy)f(x)f(y)=f(x+y)^{f(x-y)}

给定 n,mn,m,求 $\sum\limits_{x=1}^{n}\sum\limits_{y=1}^{m}\dfrac{f(x)}{f(y)}\cdot\dfrac{f(x+y)}{f(x-y)}$ 对 998244853998244853 取模的结果的所有可能的值的乘积对 998244853\textbf{998244853} 取模的结果

Format

Input

一行两个正整数 n,mn,m

Output

一行一个非负正整数,即答案。

Limitation

1n,m1091\le n,m\le 10^9

[CZR-(-002)] CZOJ 2026 愚人节比赛

未参加
状态
已结束
规则
IOI
题目
13
开始于
2026-3-20 20:00
结束于
2026-4-6 19:00
持续时间
407 小时
主持人
参赛人数
50