結果
問題 | No.1926 Sequence of Remainders |
ユーザー |
![]() |
提出日時 | 2022-07-13 13:28:41 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 440 ms / 2,000 ms |
コード長 | 214 bytes |
コンパイル時間 | 187 ms |
コンパイル使用メモリ | 7,196 KB |
実行使用メモリ | 20,992 KB |
最終ジャッジ日時 | 2024-06-24 15:27:11 |
合計ジャッジ時間 | 18,543 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 35 |
ソースコード
(dotimes [q (read)] (let* [[n (read)][m (read)][k (read)]] (let [[x (mod k m)]] (if (>= x (- m n)) (print 0) (print x)))))