結果

問題 No.327 アルファベット列
コンテスト
ユーザー Leonardone
提出日時 2015-12-20 05:34:32
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 17 ms / 2,000 ms
+ 478µs
コード長 283 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 43 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 16,384 KB
最終ジャッジ日時 2026-09-11 07:06:03
合計ジャッジ時間 3,643 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 50
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

; yukicoder My Practice
; author: Leonardone @ NEETSDKASU

(define n (read))

(define (c k) (integer->char (+ 65 k)))

(define (f r n)
	(if (< n 0) (list->string (map c r))
		(let ((a (remainder n 26)))
		     (f (cons a r) (- (quotient n 26) 1)))))

(display (f (list) n))
(newline)
0