fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. enum class Test : unsigned short int
  5. {
  6. TEST, TEST2, TEST3, TEST4
  7. };
  8.  
  9. int main() {
  10. // your code goes here
  11. Test ans = Test::TEST3;
  12.  
  13. if(ans == Test::TEST3)
  14. {
  15. std::cout << "Here" << std::endl;
  16. }
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Here