CPKit
v1.6.1

Binary Calculator

Logical OperationsMedium

Logical bitwise operations and real-time mapping across binary, hex, and decimal representations.

Alt+3

Configuration Panel

Result (Decimal)
0
Result (Binary)
0
Result (Hexadecimal)
0

Example Test Cases

12 AND 5 bitwise intersection
Input:dec,AND,5,12
Output:Dec: 4 | Bin: 100
Load Case
Bitwise Shift Left 10
Input:dec,LSHIFT,10,1
Output:Dec: 1024 | Hex: 400
Load Case
XOR difference comparison
Input:bin,XOR,0101,1100
Output:Dec: 9 | Bin: 1001
Load Case

Complexity Specs

Time ComplexityO(1)
Space ComplexityO(1)

Contest Notes & Bounds

  • Supports AND, OR, XOR, NOT, and bit shifts.
  • Bidirectional conversions show results in Decimal, Binary, and Hex formats.
  • NOT operations are calculated using two's complement signed representation.