結果
| 問題 | No.1926 Sequence of Remainders |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-06 21:34:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 204 ms / 2,000 ms |
| コード長 | 143 bytes |
| 記録 | |
| コンパイル時間 | 301 ms |
| コンパイル使用メモリ | 85,704 KB |
| 実行使用メモリ | 81,508 KB |
| 最終ジャッジ日時 | 2026-03-27 08:54:36 |
| 合計ジャッジ時間 | 9,515 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 35 |
ソースコード
t = int(input())
for case in range(t):
n, m, k = map(int, input().split())
begin = k%m
print(0) if m-n <= begin else print(begin)