結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,648 KB
testcase_01 AC 2 ms
4,760 KB
testcase_02 AC 3 ms
4,808 KB
testcase_03 AC 3 ms
4,768 KB
testcase_04 AC 4 ms
4,928 KB
testcase_05 AC 134 ms
8,068 KB
testcase_06 AC 2 ms
4,924 KB
testcase_07 AC 142 ms
8,196 KB
testcase_08 AC 5 ms
4,736 KB
testcase_09 AC 5 ms
4,720 KB
testcase_10 AC 155 ms
8,552 KB
testcase_11 AC 3 ms
4,724 KB
testcase_12 AC 2 ms
4,652 KB
testcase_13 AC 2 ms
4,708 KB
testcase_14 AC 3 ms
4,960 KB
testcase_15 AC 2 ms
4,652 KB
testcase_16 AC 3 ms
4,668 KB
testcase_17 AC 2 ms
4,712 KB
testcase_18 AC 67 ms
6,356 KB
testcase_19 AC 124 ms
7,788 KB
testcase_20 AC 122 ms
7,700 KB
testcase_21 AC 116 ms
7,488 KB
testcase_22 AC 124 ms
7,836 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{$_+$'}++,!//,keys%a}<>;print!$a{$n/2}&&im,possible
0