結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
![]() |
提出日時 | 2015-09-05 21:33:54 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 27 ms / 5,000 ms |
コード長 | 458 bytes |
コンパイル時間 | 148 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 16,896 KB |
最終ジャッジ日時 | 2024-07-19 04:13:12 |
合計ジャッジ時間 | 1,416 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
(define (System.out.println x) (begin (display x) (newline) ) ) (let ( (SA (symbol->string (read))) (PA (read)) (XA (symbol->string (read))) ) (let ( (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) ) ) ) )