結果
問題 | No.138 化石のバージョン |
ユーザー | AAAR15 |
提出日時 | 2015-06-22 17:42:38 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 412 bytes |
コンパイル時間 | 217 ms |
コンパイル使用メモリ | 18,704 KB |
実行使用メモリ | 18,968 KB |
最終ジャッジ日時 | 2023-09-21 23:33:59 |
合計ジャッジ時間 | 2,079 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
18,804 KB |
testcase_01 | AC | 15 ms
18,704 KB |
testcase_02 | AC | 15 ms
18,888 KB |
testcase_03 | AC | 15 ms
18,704 KB |
testcase_04 | AC | 15 ms
18,828 KB |
testcase_05 | AC | 15 ms
18,860 KB |
testcase_06 | AC | 15 ms
18,880 KB |
testcase_07 | AC | 15 ms
18,852 KB |
testcase_08 | AC | 15 ms
18,884 KB |
testcase_09 | AC | 15 ms
18,728 KB |
testcase_10 | AC | 15 ms
18,884 KB |
testcase_11 | AC | 15 ms
18,804 KB |
testcase_12 | AC | 15 ms
18,720 KB |
testcase_13 | AC | 15 ms
18,704 KB |
testcase_14 | AC | 15 ms
18,876 KB |
testcase_15 | AC | 15 ms
18,696 KB |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | AC | 15 ms
18,892 KB |
testcase_20 | AC | 15 ms
18,924 KB |
testcase_21 | WA | - |
testcase_22 | AC | 15 ms
18,828 KB |
testcase_23 | AC | 15 ms
18,696 KB |
testcase_24 | AC | 16 ms
18,680 KB |
testcase_25 | AC | 15 ms
18,968 KB |
testcase_26 | AC | 16 ms
18,900 KB |
testcase_27 | AC | 16 ms
18,936 KB |
testcase_28 | AC | 16 ms
18,920 KB |
testcase_29 | AC | 15 ms
18,816 KB |
testcase_30 | AC | 15 ms
18,724 KB |
testcase_31 | AC | 16 ms
18,912 KB |
testcase_32 | AC | 16 ms
18,796 KB |
testcase_33 | AC | 15 ms
18,888 KB |
testcase_34 | AC | 15 ms
18,824 KB |
testcase_35 | AC | 15 ms
18,836 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $hantei = trim(fgets(STDIN)); $target = trim(fgets(STDIN)); $str = explode(".", $hantei); $major = $str[0]; $minor = $str[1]/100; $patch = $str[2]/10000; $str1 = explode(".", $target); $major1 = $str1[0]; $minor1 = $str1[1]/100; $patch1 = $str1[2]/10000; $hantei = $major + $minor + $patch; $target = $major1 + $minor1 + $patch1; if ($hantei - $target <= 0) { echo "NO\n"; } else { echo "YES\n"; }