結果

問題 No.2452 Incline
ユーザー hiro1729
提出日時 2023-09-01 22:36:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 126 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-01-03 10:01:18
合計ジャッジ時間 6,053 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
	n, m, l, r = map(int, input().split())
	print((r - l + n - 1) // (n - 1) * (m + 1) % 998244353)
0