結果

問題 No.1926 Sequence of Remainders
ユーザー ytft
提出日時 2022-05-12 00:53:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 306 ms / 2,000 ms
コード長 101 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 82,416 KB
実行使用メモリ 76,672 KB
最終ジャッジ日時 2024-07-19 11:03:57
合計ジャッジ時間 15,559 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

T=int(input())
for i in range(T):
    N,M,K=map(int,input().split())
    print(K%M if K%M<M-N else 0)
0