#include <iostream> using namespace std; // Long vendor HAL namespace namespace VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule { void enableClock() { cout << "CLOCK ENABLED"; } void disableClock() { cout << "CLOCK DISABLED"; } } // Create alias ClockHAL = <long vendor namespace> namespace ClockHAL = VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule; int main() { int cmd; cin >> cmd; // Write required calls here if(cmd==1) { VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule::enableClock(); } else if(cmd==2) { ClockHAL::disableClock(); } return 0; }
Test Cases
Test Results
Input
1
Expected Output
CLOCK ENABLED