結果

問題 No.796 well known
コンテスト
ユーザー ducktail
提出日時 2019-10-01 14:52:04
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 414 ms / 2,000 ms
+ 900µs
コード長 228 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2 ms
コンパイル使用メモリ 6,400 KB
実行使用メモリ 21,120 KB
最終ジャッジ日時 2026-09-09 11:13:00
合計ジャッジ時間 5,006 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

(define (main args)
  (let1 n (read)
        (let loop ([c n])
          (cond [(= c n) (format #t "1") (loop (- c 1))]
                [(= c 1) (format #t " 3\n")]
                [else (format #t " 3") (loop (- c 1))])))
  0)
0