結果

問題 No.1298 OR XOR
ユーザー yuruhiyayuruhiya
提出日時 2020-11-27 21:33:18
言語 Perl
(5.38.2)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 56 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 4,676 KB
最終ジャッジ日時 2023-10-01 04:56:55
合計ジャッジ時間 1,117 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,576 KB
testcase_01 AC 3 ms
4,432 KB
testcase_02 AC 3 ms
4,572 KB
testcase_03 AC 2 ms
4,524 KB
testcase_04 AC 2 ms
4,584 KB
testcase_05 AC 2 ms
4,520 KB
testcase_06 AC 2 ms
4,592 KB
testcase_07 AC 2 ms
4,432 KB
testcase_08 AC 2 ms
4,428 KB
testcase_09 AC 3 ms
4,568 KB
testcase_10 AC 3 ms
4,656 KB
testcase_11 AC 2 ms
4,576 KB
testcase_12 AC 2 ms
4,676 KB
testcase_13 AC 3 ms
4,584 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>;$,=$";print$n-($t=$n&-$n)?($n,$t,$n^$t):(-1,-1,-1)
0