結果

問題 No.494 yukicoder
コンテスト
ユーザー hebiyan
提出日時 2017-05-22 14:17:01
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 173 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 172 ms
コンパイル使用メモリ 6,400 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2026-04-07 19:40:46
合計ジャッジ時間 676 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

(define (one-char s)
  (let ((ss "yukicoder")
        (pos (string-scan s #\?)))
    (if pos
        (string-ref ss pos)
        #\return)))

(print (one-char (read-line)))
0