結果
問題 | No.582 キャンディー・ボックス3 |
ユーザー |
![]() |
提出日時 | 2017-10-27 22:27:53 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 8 ms / 2,000 ms |
コード長 | 78 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 5,888 KB |
実行使用メモリ | 6,016 KB |
最終ジャッジ日時 | 2024-11-22 10:48:45 |
合計ジャッジ時間 | 1,007 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
$n=<>; @c=sort{$b-$a}glob<>; $s+=$_ for@c; print $c[0]>2||$c[1]>1||$s%2==0?B:A