結果

問題 No.934 Explosive energy drink
ユーザー tailstails
提出日時 2020-12-16 11:45:19
言語 Perl
(5.38.2)
結果
AC  
実行時間 518 ms / 2,000 ms
コード長 133 bytes
コンパイル時間 473 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 27,172 KB
平均クエリ数 354.79
最終ジャッジ日時 2023-09-24 09:28:57
合計ジャッジ時間 6,306 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
26,692 KB
testcase_01 AC 518 ms
26,272 KB
testcase_02 AC 28 ms
26,968 KB
testcase_03 AC 241 ms
26,772 KB
testcase_04 AC 514 ms
27,172 KB
testcase_05 AC 27 ms
26,968 KB
testcase_06 AC 27 ms
26,544 KB
testcase_07 AC 28 ms
26,448 KB
testcase_08 AC 27 ms
27,136 KB
testcase_09 AC 28 ms
26,568 KB
testcase_10 AC 27 ms
26,156 KB
testcase_11 AC 28 ms
26,908 KB
testcase_12 AC 29 ms
26,176 KB
testcase_13 AC 31 ms
26,624 KB
testcase_14 AC 33 ms
27,144 KB
testcase_15 AC 149 ms
27,036 KB
testcase_16 AC 47 ms
26,408 KB
testcase_17 AC 81 ms
26,060 KB
testcase_18 AC 81 ms
26,232 KB
testcase_19 AC 179 ms
27,104 KB
testcase_20 AC 319 ms
26,284 KB
testcase_21 AC 346 ms
26,204 KB
testcase_22 AC 509 ms
26,716 KB
testcase_23 AC 518 ms
26,628 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$,=$";
$\=$/;
$n=<>;
if(fork()){
	@a=grep<>-1,1..$n;
	print "!",@a+0,@a;
}else{
	for(1..$n){
		print "?",$n-1,1..$_-1,$_+1..$n;
	}
}
0