fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6.  
  7. class block{
  8. public:
  9. long nx,ny;
  10. vector<long> s;
  11. block(const long &x, const long &y):nx(x),ny(y), s((x+1)*(y+1),0) {}
  12. };
  13.  
  14. int main() {
  15. block B(2,2);
  16. for(int i=0;i<9;i++) {
  17. cout<<B.s[i];
  18. }
  19.  
  20. cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
  21. return 0;
  22. }
Success #stdin #stdout 0s 2984KB
stdin
Standard input is empty
stdout
000000000!!!Hello World!!!