結果

問題 No.4 おもりと天秤
ユーザー tailstails
提出日時 2015-02-10 19:12:10
言語 Perl
(5.38.2)
結果
AC  
実行時間 103 ms / 5,000 ms
コード長 78 bytes
コンパイル時間 35 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 5,920 KB
最終ジャッジ日時 2023-09-08 16:06:45
合計ジャッジ時間 1,663 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,576 KB
testcase_01 AC 3 ms
4,640 KB
testcase_02 AC 3 ms
4,856 KB
testcase_03 AC 3 ms
4,748 KB
testcase_04 AC 3 ms
4,848 KB
testcase_05 AC 89 ms
5,736 KB
testcase_06 AC 2 ms
4,764 KB
testcase_07 AC 95 ms
5,724 KB
testcase_08 AC 4 ms
4,616 KB
testcase_09 AC 4 ms
4,704 KB
testcase_10 AC 103 ms
5,920 KB
testcase_11 AC 2 ms
4,588 KB
testcase_12 AC 3 ms
4,580 KB
testcase_13 AC 2 ms
4,764 KB
testcase_14 AC 2 ms
4,728 KB
testcase_15 AC 3 ms
4,620 KB
testcase_16 AC 2 ms
4,596 KB
testcase_17 AC 2 ms
4,708 KB
testcase_18 AC 45 ms
5,296 KB
testcase_19 AC 83 ms
5,780 KB
testcase_20 AC 82 ms
5,748 KB
testcase_21 AC 78 ms
5,624 KB
testcase_22 AC 82 ms
5,616 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(<>){$n+=$m;map$a{$_+$m}++,0,keys%a};print!$a{$n/2}&&im,possible
0