結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
Rin
|
| 提出日時 | 2015-09-05 21:26:36 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 400 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 7,972 KB |
| 実行使用メモリ | 35,072 KB |
| 最終ジャッジ日時 | 2026-04-02 14:05:23 |
| 合計ジャッジ時間 | 1,415 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 20 |
ソースコード
(define (System.out.println x)
(begin
(write x)
(newline)
)
)
(let (
(SA (symbol->string (read)))
(PA (read))
(XA (symbol->string (read)))
(SB (symbol->string (read)))
(PB (read))
(XB (symbol->string (read)))
)
(cond
((= PA PB) (System.out.println "-1"))
((> PA PB) (System.out.println SA))
((< PA PB) (System.out.println SB))
)
)
Rin