結果

問題 No.1926 Sequence of Remainders
ユーザー n_get
提出日時 2022-07-13 13:26:42
言語 Scheme
(Gauche-0.9.15)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 7,072 KB
実行使用メモリ 20,992 KB
最終ジャッジ日時 2024-06-24 15:12:26
合計ジャッジ時間 19,819 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

(dotimes [q (read)]
         (let* [[n (read)][m (read)][k (read)]]
               (let [[x (mod k m)]]
                    (if (<= x (- m n))
                        (print 0)
                        (print x)))))
0