結果

問題 No.138 化石のバージョン
ユーザー mobius_bkstmobius_bkst
提出日時 2015-05-04 12:41:25
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 11,260 KB
実行使用メモリ 15,424 KB
最終ジャッジ日時 2023-09-19 06:42:08
合計ジャッジ時間 4,823 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,164 KB
testcase_01 AC 85 ms
15,188 KB
testcase_02 AC 85 ms
15,328 KB
testcase_03 AC 86 ms
15,304 KB
testcase_04 AC 90 ms
15,292 KB
testcase_05 AC 85 ms
15,308 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 84 ms
15,320 KB
testcase_17 AC 84 ms
15,288 KB
testcase_18 AC 86 ms
15,300 KB
testcase_19 AC 85 ms
15,136 KB
testcase_20 AC 85 ms
15,160 KB
testcase_21 AC 84 ms
15,268 KB
testcase_22 AC 85 ms
15,152 KB
testcase_23 AC 85 ms
15,152 KB
testcase_24 AC 84 ms
15,284 KB
testcase_25 AC 85 ms
15,300 KB
testcase_26 WA -
testcase_27 AC 85 ms
15,136 KB
testcase_28 AC 86 ms
15,316 KB
testcase_29 AC 84 ms
15,340 KB
testcase_30 AC 85 ms
15,376 KB
testcase_31 AC 86 ms
15,156 KB
testcase_32 AC 84 ms
15,036 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

zero = gets.chomp.split(".")
one = gets.chomp.split(".")
fossil = "YES"
for i in 0..2
  if(zero[i].to_i < one[i].to_i)
    fossil = "NO"
    break
  end
end
puts fossil
0