結果

問題 No.1183 コイン遊び
ユーザー tailstails
提出日時 2020-08-22 15:48:49
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 133 bytes
コンパイル時間 644 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 218,904 KB
最終ジャッジ日時 2024-04-23 10:05:13
合計ジャッジ時間 8,932 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
11,264 KB
testcase_01 AC 8 ms
6,016 KB
testcase_02 AC 7 ms
5,888 KB
testcase_03 AC 7 ms
6,016 KB
testcase_04 AC 7 ms
5,888 KB
testcase_05 AC 8 ms
5,888 KB
testcase_06 AC 7 ms
6,016 KB
testcase_07 AC 7 ms
5,888 KB
testcase_08 AC 10 ms
6,144 KB
testcase_09 AC 10 ms
6,272 KB
testcase_10 AC 68 ms
12,516 KB
testcase_11 AC 197 ms
26,068 KB
testcase_12 TLE -
testcase_13 AC 1,797 ms
197,012 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>;
@a=glob<>;
@b=glob<>;
$r=0;
for(0..$n-1){
	if($a[$_]==$b[$_]){
		$f=0;
	}else{
		if(!$f){
			++$r;
		}
		$f=1;
	}
}
print $r;
0