結果

問題 No.4 おもりと天秤
ユーザー tailstails
提出日時 2015-02-10 19:17:28
言語 Perl
(5.38.2)
結果
AC  
実行時間 154 ms / 5,000 ms
コード長 77 bytes
コンパイル時間 31 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 8,460 KB
最終ジャッジ日時 2023-09-08 16:06:49
合計ジャッジ時間 2,021 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,620 KB
testcase_01 AC 3 ms
4,872 KB
testcase_02 AC 4 ms
4,968 KB
testcase_03 AC 3 ms
4,712 KB
testcase_04 AC 4 ms
4,936 KB
testcase_05 AC 133 ms
8,204 KB
testcase_06 AC 2 ms
4,648 KB
testcase_07 AC 143 ms
8,328 KB
testcase_08 AC 5 ms
4,728 KB
testcase_09 AC 5 ms
4,732 KB
testcase_10 AC 154 ms
8,460 KB
testcase_11 AC 2 ms
4,692 KB
testcase_12 AC 3 ms
4,748 KB
testcase_13 AC 3 ms
4,828 KB
testcase_14 AC 3 ms
4,872 KB
testcase_15 AC 2 ms
4,644 KB
testcase_16 AC 3 ms
4,772 KB
testcase_17 AC 2 ms
4,940 KB
testcase_18 AC 67 ms
6,472 KB
testcase_19 AC 123 ms
7,740 KB
testcase_20 AC 123 ms
7,600 KB
testcase_21 AC 117 ms
7,480 KB
testcase_22 AC 123 ms
7,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 #

<>;$/=$";map{//;$n+=$';map$a{$_+$'}++,0,keys%a}<>;print!$a{$n/2}&&im,possible
0