結果
問題 |
No.1129 Rating じゃんけん
|
ユーザー |
![]() |
提出日時 | 2020-07-29 08:58:55 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 89 ms / 2,000 ms |
コード長 | 455 bytes |
コンパイル時間 | 357 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-28 21:24:08 |
合計ジャッジ時間 | 2,141 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
コンパイルメッセージ
Syntax OK
ソースコード
A, B, C, D = gets.split.map(&:to_i) if A > C puts 'null' elsif A < C puts 'tRue' else case B when 0 case D when 0 puts 'Draw' when 1 puts 'null' when 2 puts 'tRue' end when 1 case D when 0 puts 'tRue' when 1 puts 'Draw' when 2 puts 'null' end when 2 case D when 0 puts 'null' when 1 puts 'tRue' when 2 puts 'Draw' end end end