fork download
  1. #include <iostream>
  2.  
  3. enum class A {
  4. a,
  5. b
  6. };
  7.  
  8. std::ostream& operator<<(std::ostream& os, A val)
  9. {
  10. return os << val;
  11. }
  12.  
  13. int main() {
  14. auto a = A::a;
  15. std::cout << a;
  16. return 0;
  17. }
Time limit exceeded #stdin #stdout 5s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty