結果
| 問題 | No.1926 Sequence of Remainders |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2022-05-06 21:22:53 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 228 ms / 2,000 ms |
| + 886µs | |
| コード長 | 146 bytes |
| 記録 | |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 95,880 KB |
| 実行使用メモリ | 84,992 KB |
| 最終ジャッジ日時 | 2026-08-08 16:28:49 |
| 合計ジャッジ時間 | 12,387 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 35 |
ソースコード
t = int(input())
for _ in range(t):
n, m, k = map(int, input().split())
if k % m >= m - n:
print(0)
else:
print(k % m)
hir355