結果
問題 | No.353 ヘイトプラス |
ユーザー | takashi2001pc |
提出日時 | 2016-04-02 00:24:06 |
言語 | Perl (5.38.2) |
結果 |
AC
|
実行時間 | 23 ms / 1,000 ms |
コード長 | 293 bytes |
コンパイル時間 | 1,782 ms |
コンパイル使用メモリ | 7,564 KB |
実行使用メモリ | 7,584 KB |
最終ジャッジ日時 | 2023-09-12 00:08:42 |
合計ジャッジ時間 | 2,057 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 21 ms
7,560 KB |
testcase_01 | AC | 21 ms
7,456 KB |
testcase_02 | AC | 22 ms
7,584 KB |
testcase_03 | AC | 21 ms
7,420 KB |
testcase_04 | AC | 21 ms
7,436 KB |
testcase_05 | AC | 21 ms
7,500 KB |
testcase_06 | AC | 23 ms
7,484 KB |
testcase_07 | AC | 21 ms
7,532 KB |
testcase_08 | AC | 22 ms
7,480 KB |
コンパイルメッセージ
Main.pl syntax OK
ソースコード
use strict; use warnings; use utf8; use Data::Dumper; use Encode qw/encode decode decode_utf8 encode_utf8 from_to/; my $inp = decode('utf8', <STDIN>); my @array = split(" ", $inp); my($a ,$b) = @array; while ($b != 0) { my $c = ($a & $b) << 1; $a ^= $b; $b = $c; } print $a;