結果

問題 No.201 yukicoderじゃんけん
ユーザー Rin
提出日時 2015-09-05 21:24:42
言語 Scheme
(Gauche-0.9.15)
結果
RE  
実行時間 -
コード長 366 bytes
コンパイル時間 38 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 17,152 KB
最終ジャッジ日時 2024-07-19 04:13:00
合計ジャッジ時間 1,374 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (System.out.println x)
  (begin
    (write x)
    (newline)
  )
)

(let (
      (SA (symbol->string (read)))
      (PA (read))
      (XA (read))
      (SB (symbol->string (read)))
      (PB (read))
      (XB (read))
     )
  (cond
    ((= PA PB) (System.out.println "-1"))
    ((> PA PB) (System.out.println SA))
    ((< PA PB) (System.out.println SB))
  )
)
0