fork download
  1. #include <iostream>
  2. using namespace std;
  3. class noop_class
  4. {
  5. public:
  6. template <class T>
  7. noop_class& operator<<(const T &) { return *this;}
  8. } noop_object;
  9.  
  10. #define cout noop_object
  11.  
  12. int main() {
  13.  
  14. cout << "test\n";
  15. // your code goes here
  16. return 0;
  17. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
Standard output is empty