結果

問題 No.1031 いたずら好きなお姉ちゃん
ユーザー tailstails
提出日時 2020-12-15 19:41:05
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 222 bytes
コンパイル時間 643 ms
コンパイル使用メモリ 6,088 KB
実行使用メモリ 32,440 KB
最終ジャッジ日時 2023-10-20 06:25:51
合計ジャッジ時間 27,640 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,140 KB
testcase_01 AC 7 ms
6,144 KB
testcase_02 AC 7 ms
6,136 KB
testcase_03 AC 28 ms
7,228 KB
testcase_04 AC 26 ms
7,212 KB
testcase_05 AC 26 ms
7,200 KB
testcase_06 AC 26 ms
7,208 KB
testcase_07 AC 28 ms
7,216 KB
testcase_08 AC 27 ms
7,196 KB
testcase_09 AC 26 ms
7,204 KB
testcase_10 AC 26 ms
7,196 KB
testcase_11 AC 476 ms
27,572 KB
testcase_12 AC 433 ms
27,468 KB
testcase_13 AC 531 ms
32,248 KB
testcase_14 AC 449 ms
28,332 KB
testcase_15 AC 498 ms
30,740 KB
testcase_16 AC 437 ms
27,324 KB
testcase_17 AC 496 ms
30,840 KB
testcase_18 AC 469 ms
29,960 KB
testcase_19 AC 489 ms
31,240 KB
testcase_20 AC 525 ms
32,260 KB
testcase_21 AC 465 ms
30,016 KB
testcase_22 AC 424 ms
27,324 KB
testcase_23 AC 434 ms
27,996 KB
testcase_24 AC 496 ms
31,316 KB
testcase_25 AC 518 ms
32,132 KB
testcase_26 AC 478 ms
30,472 KB
testcase_27 AC 444 ms
28,664 KB
testcase_28 AC 518 ms
32,320 KB
testcase_29 AC 540 ms
32,320 KB
testcase_30 AC 539 ms
32,320 KB
testcase_31 AC 537 ms
32,316 KB
testcase_32 AC 540 ms
32,316 KB
testcase_33 AC 531 ms
32,320 KB
testcase_34 AC 305 ms
32,436 KB
testcase_35 AC 786 ms
32,320 KB
testcase_36 AC 687 ms
32,320 KB
testcase_37 AC 771 ms
32,320 KB
testcase_38 AC 710 ms
32,080 KB
testcase_39 AC 686 ms
31,424 KB
testcase_40 AC 661 ms
31,676 KB
testcase_41 AC 703 ms
32,056 KB
testcase_42 AC 670 ms
31,980 KB
testcase_43 AC 676 ms
32,144 KB
testcase_44 AC 640 ms
31,968 KB
testcase_45 AC 636 ms
31,264 KB
testcase_46 AC 702 ms
31,672 KB
testcase_47 AC 671 ms
31,604 KB
testcase_48 AC 531 ms
32,300 KB
testcase_49 AC 738 ms
32,348 KB
testcase_50 AC 658 ms
32,072 KB
testcase_51 AC 530 ms
32,432 KB
testcase_52 AC 529 ms
32,440 KB
testcase_53 AC 522 ms
32,432 KB
testcase_54 WA -
testcase_55 AC 7 ms
6,140 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 4.
Possible precedence problem on bitwise ^ operator at Main.pl line 7.
Unquoted string "a" may clash with future reserved word at Main.pl line 11.
Unquoted string "b" may clash with future reserved word at Main.pl line 11.
Main.pl syntax OK

ソースコード

diff #

<>;
@a=glob<>;
map{
	$x=$a[$i++]<$_|0;
	$y=$x^1;
	$\+=push@$x,$i-1;
	pop@$y while@$y&&$a[$$y[-1]]<$_^$y;
	if(@$y){
		$j=$$y[-1];
		$a=-1;$b=@$x;
		${$$x[$c]<$j?a:b}=$c=$a+$b>>1while$a+1<$b;
		$\-=$b;
	}
}@a[1..$#a];
print
0