結果

問題 No.4 おもりと天秤
ユーザー なおなお
提出日時 2014-12-12 04:41:42
言語 Perl
(5.38.2)
結果
AC  
実行時間 101 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 5,912 KB
最終ジャッジ日時 2023-09-08 16:04:43
合計ジャッジ時間 1,871 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,720 KB
testcase_01 AC 2 ms
4,760 KB
testcase_02 AC 3 ms
4,960 KB
testcase_03 AC 3 ms
4,796 KB
testcase_04 AC 4 ms
4,848 KB
testcase_05 AC 88 ms
5,792 KB
testcase_06 AC 3 ms
4,712 KB
testcase_07 AC 94 ms
5,836 KB
testcase_08 AC 4 ms
4,784 KB
testcase_09 AC 4 ms
4,840 KB
testcase_10 AC 101 ms
5,912 KB
testcase_11 AC 2 ms
4,956 KB
testcase_12 AC 3 ms
4,812 KB
testcase_13 AC 3 ms
4,756 KB
testcase_14 AC 2 ms
4,724 KB
testcase_15 AC 2 ms
4,936 KB
testcase_16 AC 2 ms
4,784 KB
testcase_17 AC 3 ms
4,708 KB
testcase_18 AC 45 ms
5,216 KB
testcase_19 AC 81 ms
5,740 KB
testcase_20 AC 82 ms
5,648 KB
testcase_21 AC 77 ms
5,588 KB
testcase_22 AC 82 ms
5,800 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "im" may clash with future reserved word at Main.pl line 1.
Unquoted string "possible" may clash with future reserved word at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;for$m(<>=~/\S+/g){$a{$_+$m}++for keys%a;$a{$m}=$n+=$m};print$n%2|!$a{$n/2}?im:"",possible
0