結果

問題 No.138 化石のバージョン
ユーザー 0tofu0tofu
提出日時 2015-02-11 20:38:09
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 11,376 KB
実行使用メモリ 15,336 KB
最終ジャッジ日時 2023-09-05 23:35:54
合計ジャッジ時間 4,793 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,108 KB
testcase_01 AC 79 ms
15,232 KB
testcase_02 WA -
testcase_03 AC 77 ms
15,272 KB
testcase_04 AC 76 ms
15,200 KB
testcase_05 AC 80 ms
15,288 KB
testcase_06 AC 76 ms
15,132 KB
testcase_07 AC 76 ms
15,108 KB
testcase_08 WA -
testcase_09 AC 77 ms
15,332 KB
testcase_10 AC 78 ms
15,124 KB
testcase_11 AC 76 ms
15,244 KB
testcase_12 AC 79 ms
15,216 KB
testcase_13 WA -
testcase_14 AC 75 ms
15,152 KB
testcase_15 WA -
testcase_16 AC 74 ms
15,248 KB
testcase_17 AC 72 ms
15,036 KB
testcase_18 AC 71 ms
15,232 KB
testcase_19 AC 77 ms
15,124 KB
testcase_20 AC 79 ms
15,232 KB
testcase_21 AC 78 ms
15,028 KB
testcase_22 AC 77 ms
15,280 KB
testcase_23 AC 77 ms
15,072 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 74 ms
15,128 KB
testcase_27 AC 76 ms
15,252 KB
testcase_28 AC 73 ms
15,036 KB
testcase_29 AC 74 ms
15,300 KB
testcase_30 AC 77 ms
15,128 KB
testcase_31 AC 77 ms
15,212 KB
testcase_32 AC 77 ms
15,140 KB
testcase_33 AC 79 ms
15,268 KB
testcase_34 AC 74 ms
15,332 KB
testcase_35 AC 74 ms
15,276 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

fossil = gets.chomp().gsub(".","").to_i
chk_ver = gets.chomp().gsub(".","").to_i

ans = (chk_ver - fossil) > 0 ? "NO" : "YES"
puts ans
0