結果

問題 No.481 1から10
ユーザー _Clay_____Clay____
提出日時 2018-09-17 23:34:13
言語 Scheme
(Gauche-0.9.14)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 5,340 KB
実行使用メモリ 13,836 KB
最終ジャッジ日時 2023-09-25 09:38:56
合計ジャッジ時間 1,313 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,740 KB
testcase_01 AC 17 ms
11,668 KB
testcase_02 AC 17 ms
11,736 KB
testcase_03 AC 18 ms
11,820 KB
testcase_04 AC 17 ms
11,720 KB
testcase_05 AC 17 ms
11,688 KB
testcase_06 AC 17 ms
11,632 KB
testcase_07 AC 17 ms
11,628 KB
testcase_08 WA -
testcase_09 AC 17 ms
11,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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