結果

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

ソースコード

diff #

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

(let(
     (NameA  (read (current-input-port)))
     (pointA (read (current-input-port)))
     (foo    (read (current-input-port)))
     (NameB  (read (current-input-port)))
     (pointB (read (current-input-port)))
     (bar    (read (current-input-port)))
    )
  (cond
    ((> pointA pointB) (System.out.println NameA))
    ((= pointA pointB) (System.out.println -1))
    ((< pointA pointB) (System.out.println NameB))
  )
)
0