#include <iostream>
#include <cstdint>
using namespace std;
using Reg8 = uint8_t;
using Reg16 = uint16_t;
using Reg32 = uint32_t;
// Step 1: Create the three type aliases here:
// using Reg8 = ...
// using Reg16 = ...
// using Reg32 = ...
int main() {
uint64_t raw8, raw16, raw32;
cin >> raw8 >> raw16 >> raw32;
Reg8 r8=raw8;
Reg16 r16=raw16;
Reg32 r32=raw32;
// Step 2: Store the values using the alias types:
// Reg8 r8 = ...
// Reg16 r16 = ...
// Reg32 r32 = ...
cout<<"R8=" <<static_cast<unsigned int>(r8)
<<" R16=" <<static_cast<unsigned int>(r16)
<<" R32=" <<static_cast<unsigned int>(r32);
// Step 3: Print the formatted output:
// Ensure values are printed numerically
return 0;
}
Input
255 12345 987654321
Expected Output
R8=255 R16=12345 R32=987654321