fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct foo {int i;};
  5.  
  6. class : public foo
  7. {
  8. } bar;
  9.  
  10. int main() {
  11. bar.i = 4;
  12.  
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0s 3408KB
stdin
Standard input is empty
stdout
Standard output is empty