結果
| 問題 |
No.185 和風
|
| コンテスト | |
| ユーザー |
kokoa1046
|
| 提出日時 | 2017-09-03 23:35:03 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 222 bytes |
| コンパイル時間 | 114 ms |
| コンパイル使用メモリ | 6,948 KB |
| 実行使用メモリ | 16,384 KB |
| 最終ジャッジ日時 | 2024-11-06 20:11:06 |
| 合計ジャッジ時間 | 759 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 1 |
ソースコード
(define d (read)) (define (readn n) (if (= n 0) '() (cons (let ( (a (read)) (b (read))) (- b a) ) (readn (- n 1)) ) )) (let ( (l (readn d)))(if (apply = l) (if (< (car l) 0) (print "-1") (print (car l))) (print "-1")))
kokoa1046