結果

問題 No.4 おもりと天秤
ユーザー なお
提出日時 2014-12-12 04:41:42
言語 Perl
(5.40.0)
結果
AC  
実行時間 83 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 6,812 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-26 09:04:31
合計ジャッジ時間 1,457 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
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