結果
| 問題 |
No.138 化石のバージョン
|
| コンテスト | |
| ユーザー |
harhogefoo
|
| 提出日時 | 2016-10-09 00:59:33 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 160 bytes |
| コンパイル時間 | 45 ms |
| コンパイル使用メモリ | 7,680 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-11-21 20:39:21 |
| 合計ジャッジ時間 | 4,297 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 14 |
コンパイルメッセージ
Syntax OK
ソースコード
a = gets.chomp.split(".").map(&:to_i)
b = gets.chomp.split(".").map(&:to_i)
if b[0] <= a[0] and b[1] <= a[1] and b[2] <= a[2]
puts "YES"
else
puts "NO"
end
harhogefoo