結果

問題 No.683 Two Operations No.3
ユーザー %20%20
提出日時 2018-05-12 01:42:59
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 95 bytes
コンパイル時間 334 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 5,404 KB
最終ジャッジ日時 2023-09-10 18:16:41
合計ジャッジ時間 1,168 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

sub f{
	my($a,$b)=@_;
	$a*$b?$a%2&&f($a/2,$b-1)||$b%2&&f($a-1,$b/2):0
}
print f(glob<>)?No:Yes
0