結果

問題 No.1903 Day1
ユーザー n_getn_get
提出日時 2022-07-12 12:48:53
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 27 ms / 1,000 ms
コード長 120 bytes
コンパイル時間 40 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 12,816 KB
最終ジャッジ日時 2023-09-05 12:55:02
合計ジャッジ時間 1,542 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
12,636 KB
testcase_01 AC 25 ms
12,648 KB
testcase_02 AC 27 ms
12,672 KB
testcase_03 AC 24 ms
12,764 KB
testcase_04 AC 24 ms
12,764 KB
testcase_05 AC 24 ms
12,608 KB
testcase_06 AC 25 ms
12,604 KB
testcase_07 AC 25 ms
12,816 KB
testcase_08 AC 25 ms
12,792 KB
testcase_09 AC 26 ms
12,604 KB
testcase_10 AC 27 ms
12,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let loop[[D 0][N (read)]]
     (when (zero? N) (print D) (exit))
     (loop (+ D 1) (+ N -1 (if (= 6 (mod D 7)) 6 0))))
0