結果
問題 | No.216 FAC |
ユーザー | mondo |
提出日時 | 2019-08-06 17:01:22 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 301 bytes |
コンパイル時間 | 695 ms |
コンパイル使用メモリ | 11,960 KB |
実行使用メモリ | 12,432 KB |
最終ジャッジ日時 | 2023-09-25 17:55:05 |
合計ジャッジ時間 | 1,797 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 8 ms
12,332 KB |
testcase_02 | AC | 8 ms
12,332 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 7 ms
12,248 KB |
testcase_08 | AC | 7 ms
12,224 KB |
testcase_09 | AC | 7 ms
12,348 KB |
testcase_10 | AC | 8 ms
12,372 KB |
testcase_11 | WA | - |
testcase_12 | AC | 7 ms
12,312 KB |
testcase_13 | WA | - |
testcase_14 | AC | 7 ms
12,328 KB |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | AC | 9 ms
12,316 KB |
testcase_19 | WA | - |
testcase_20 | AC | 8 ms
12,412 KB |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | AC | 8 ms
12,324 KB |
testcase_25 | WA | - |
testcase_26 | AC | 7 ms
12,348 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $member = trim(fgets(STDIN)); $point = explode(" ",trim(fgets(STDIN))); $person = explode(" ",trim(fgets(STDIN))); $score = array_fill(0, 101, 0); foreach($person as $key => $value) { $score[$value] += $points[$key]; } if(max($score) == $score[0]) { echo 'YES'; } else { echo 'NO'; }