結果

問題 No.1432 Not Xor
ユーザー ducktailducktail
提出日時 2024-01-13 20:08:28
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 141 bytes
コンパイル時間 56 ms
コンパイル使用メモリ 6,548 KB
実行使用メモリ 23,040 KB
最終ジャッジ日時 2024-01-13 20:08:31
合計ジャッジ時間 2,636 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
23,040 KB
testcase_01 AC 81 ms
23,040 KB
testcase_02 AC 86 ms
23,040 KB
testcase_03 AC 79 ms
23,040 KB
testcase_04 AC 80 ms
23,040 KB
testcase_05 AC 79 ms
23,040 KB
testcase_06 AC 78 ms
23,040 KB
testcase_07 AC 77 ms
23,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(use scheme.bitwise)

(define (main args)
  (let* ([a (read)]
         [b (read)])
    (print (+ (bitwise-ior a b) (bitwise-and a b))))
  0)
0