fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class Derived;
  5. class Base {
  6. static Derived* getDerived();
  7. };
  8. class Derived : public Base {};
  9.  
  10. int main() {
  11. // your code goes here
  12. return 0;
  13. }
Success #stdin #stdout 0s 3136KB
stdin
Standard input is empty
stdout
Standard output is empty