結果

問題 No.481 1から10
ユーザー _Clay_____Clay____
提出日時 2018-09-17 23:36:56
言語 Scheme
(Gauche-0.9.14)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 13,872 KB
最終ジャッジ日時 2023-09-25 09:39:00
合計ジャッジ時間 1,280 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,860 KB
testcase_01 WA -
testcase_02 AC 18 ms
11,660 KB
testcase_03 AC 18 ms
11,812 KB
testcase_04 AC 20 ms
13,872 KB
testcase_05 AC 19 ms
13,660 KB
testcase_06 AC 19 ms
11,692 KB
testcase_07 AC 18 ms
11,724 KB
testcase_08 AC 18 ms
11,644 KB
testcase_09 AC 17 ms
11,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define v (map string->number (string-split (read-line) " ")))
(define (c i v)
  (cond ((= (car v) 9) 10)
        ((= (car i) (car v)) (c (cdr i) (cdr v)))
        (else (car i))))
(print (c (iota 10 1) v))
0