結果

問題 No.201 yukicoderじゃんけん
ユーザー Rin
提出日時 2015-09-05 21:30:23
言語 Scheme
(Gauche-0.9.15)
結果
RE  
実行時間 -
コード長 414 bytes
コンパイル時間 37 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 17,408 KB
最終ジャッジ日時 2024-07-19 04:13:07
合計ジャッジ時間 1,775 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 (symbol->string (read)))
      (SB (symbol->string (read)))
      (PB (read))
      (XB (symbol->string (read)))
     )
  (if (= PA PB)
      (System.out.println "-1")
      (if (> PA PB)
          (System.out.println SA)
          (System.out.println SB)
      )
  )
)
0