#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> int main() { int cmd; cin >> cmd; if(cmd == 1) VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule::enableClock(); else VendorMegaChipCorporationUltraSeries9000_HardwareClockControlModule::disableClock(); // Write required calls here return 0; }
Test Cases
Test Results
Input
1
Expected Output
CLOCK ENABLED