結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2018-09-18 00:26:55 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 24 ms / 2,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 57 ms |
コンパイル使用メモリ | 5,248 KB |
実行使用メモリ | 16,000 KB |
最終ジャッジ日時 | 2024-07-18 07:53:25 |
合計ジャッジ時間 | 894 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
(define v (map string->number (string-split (read-line) " "))) (define (c l) (cond ((null? l) 10) ((= (caar l) (cdar l)) (c (cdr l))) (else (caar l)))) (print (c (map cons (iota 9 1) v)))