結果
問題 | No.1015 おつりは要らないです |
ユーザー | tomosuuu_output |
提出日時 | 2020-04-04 16:46:30 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 268 bytes |
コンパイル時間 | 765 ms |
コンパイル使用メモリ | 12,000 KB |
実行使用メモリ | 18,036 KB |
最終ジャッジ日時 | 2023-09-16 05:48:53 |
合計ジャッジ時間 | 3,038 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 8 ms
12,256 KB |
testcase_02 | AC | 8 ms
12,212 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 8 ms
12,288 KB |
testcase_08 | AC | 7 ms
12,188 KB |
testcase_09 | AC | 7 ms
12,284 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | AC | 15 ms
17,904 KB |
testcase_16 | AC | 15 ms
17,908 KB |
testcase_17 | AC | 15 ms
17,880 KB |
testcase_18 | AC | 15 ms
17,844 KB |
testcase_19 | AC | 15 ms
17,900 KB |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | AC | 7 ms
12,284 KB |
testcase_31 | WA | - |
testcase_32 | AC | 11 ms
13,800 KB |
testcase_33 | AC | 15 ms
17,836 KB |
testcase_34 | WA | - |
testcase_35 | WA | - |
testcase_36 | AC | 7 ms
12,244 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $line = fgets(STDIN); $money = explode(" ",$line); $line2 = fgets(STDIN); $pay = explode(" ",$line2); $paypay = array_sum($pay); $mon = array_sum($money) - $money[0]; if ($mon > $paypay) { echo "Yes\n"; } else { echo "No\n"; } ?>