結果
問題 | No.1926 Sequence of Remainders |
ユーザー |
|
提出日時 | 2022-05-06 21:39:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 329 ms / 2,000 ms |
コード長 | 150 bytes |
コンパイル時間 | 297 ms |
コンパイル使用メモリ | 82,296 KB |
実行使用メモリ | 76,724 KB |
最終ジャッジ日時 | 2024-07-05 22:52:06 |
合計ジャッジ時間 | 14,270 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 35 |
ソースコード
for _ in range(int(input())): n, m, k = map(int, input().split()) r = k % m if m - r <= n: print(0) else: print(k % m)