Bit Operation II
Given two non-negative decimal integers aa and bb, calculate their AND (logical conjunction), OR (logical disjunction) and XOR (exclusive disjunction) and print them in binary representation of 32 bits.
Time Limit | 1 秒/Second(s) | Memory Limit | 512 兆字节/Megabyte(s) |
提交总数 | 162 | 正确数量 | 119 |
裁判形式 | 标准裁判/Standard Judge | 我的状态 | 尚未尝试 |
难度 | 分类标签 | STL |
Given two non-negative decimal integers aa and bb, calculate their AND (logical conjunction), OR (logical disjunction) and XOR (exclusive disjunction) and print them in binary representation of 32 bits.
The input is given in the following format.
abab
8 10
00000000000000000000000000001000
00000000000000000000000000001010
00000000000000000000000000000010
本题记录 | 用 户(点击查看用户) | 运行号(点击购买题解) | 时 间 |
---|---|---|---|
算法最快[0 ms] | 李元飞 | 809391 | 2022-02-23 13:06:48 |
内存最少[0 KB] | Qiqy | 609163 | 2020-08-02 10:52:37 |
第一AC | AOJ大管家 | 338447 | 2018-12-05 20:16:56 |
第一挑战 | AOJ大管家 | 338447 | 2018-12-05 20:16:56 |
竞赛编号 | 竞赛名称 | 竞赛时间 | 访问比赛 |
---|---|---|---|
1849 | 2024-2025-1学期《程序设计技能实训》博弈论、二进制和位运算【24计算机】 | 2024-12-15 08:00:00 | 请登录 |
1790 | 2023-2024-1学期《程序设计技能实训》博弈论、二进制和位运算【23计算机】 | 2023-12-18 00:00:00 | 请登录 |
1675 | 2021-2022-1学期《程序设计技能实训》二进制和位运算【21计算机1234】 | 2021-12-14 07:00:00 | 请登录 |
1602 | 2020-2021-1学期《程序设计技能实训》二进制和位运算【20计算机12345】 | 2020-12-25 18:00:00 | 请登录 |