fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6. struct test {
  7. vector<test> a;
  8. };
  9.  
  10. int main() {
  11. // your code goes here
  12. test t;
  13. if (t.a.size() > 0)
  14. return -1;
  15. else if (t.a[0].a[0].a.size() > 0)
  16. return 1;
  17. return 0;
  18. }
Runtime error #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
Standard output is empty