結果

問題 No.909 たぴの配置
ユーザー tailstails
提出日時 2019-10-18 22:33:54
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 160 bytes
コンパイル時間 436 ms
コンパイル使用メモリ 5,224 KB
実行使用メモリ 75,516 KB
最終ジャッジ日時 2023-09-08 00:27:13
合計ジャッジ時間 15,174 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 6 ms
5,160 KB
testcase_02 WA -
testcase_03 AC 6 ms
5,228 KB
testcase_04 AC 6 ms
5,164 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 835 ms
67,656 KB
testcase_15 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>;
@x=glob<>;
@y=glob<>;
$d=2e6;
for(0..$n-1){
	$a=$x[$_]+$y[$_];
	$d=$d<$a?$d:$a;
}
print $d,$/;
print 0,$/;
for(0..$n-1){
	print $x[$_],$/;
}
print $d,$/;
0