結果

問題 No.184 たのしい排他的論理和(HARD)
ユーザー tailstails
提出日時 2015-04-17 09:03:03
言語 Perl
(5.38.2)
結果
AC  
実行時間 690 ms / 5,000 ms
コード長 156 bytes
コンパイル時間 394 ms
コンパイル使用メモリ 5,236 KB
実行使用メモリ 23,268 KB
最終ジャッジ日時 2023-09-17 16:32:43
合計ジャッジ時間 13,556 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,480 KB
testcase_01 AC 2 ms
4,492 KB
testcase_02 AC 2 ms
4,524 KB
testcase_03 AC 3 ms
4,504 KB
testcase_04 AC 2 ms
4,504 KB
testcase_05 AC 2 ms
4,384 KB
testcase_06 AC 2 ms
4,536 KB
testcase_07 AC 3 ms
4,480 KB
testcase_08 AC 470 ms
17,828 KB
testcase_09 AC 96 ms
7,164 KB
testcase_10 AC 354 ms
14,460 KB
testcase_11 AC 251 ms
11,704 KB
testcase_12 AC 549 ms
19,816 KB
testcase_13 AC 597 ms
21,180 KB
testcase_14 AC 341 ms
14,012 KB
testcase_15 AC 646 ms
22,664 KB
testcase_16 AC 533 ms
19,496 KB
testcase_17 AC 581 ms
20,772 KB
testcase_18 AC 2 ms
4,492 KB
testcase_19 AC 2 ms
4,484 KB
testcase_20 AC 426 ms
23,268 KB
testcase_21 AC 665 ms
23,164 KB
testcase_22 AC 669 ms
23,220 KB
testcase_23 AC 3 ms
4,488 KB
testcase_24 AC 3 ms
4,412 KB
testcase_25 AC 2 ms
4,540 KB
testcase_26 AC 3 ms
4,548 KB
testcase_27 AC 3 ms
4,484 KB
testcase_28 AC 396 ms
15,800 KB
testcase_29 AC 564 ms
20,320 KB
testcase_30 AC 498 ms
18,452 KB
testcase_31 AC 424 ms
16,612 KB
testcase_32 AC 526 ms
19,720 KB
testcase_33 AC 647 ms
22,608 KB
testcase_34 AC 646 ms
22,416 KB
testcase_35 AC 664 ms
22,984 KB
testcase_36 AC 690 ms
23,020 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;
$/=$";
@a=<>;
for$i(0..60){
    $f=0;
    for(@a){
        if($_&1<<$i){
            $f=$_,$c++if!$f;
            $_^=$f;
        }
    }
}
print 1<<$c
0