fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. cout<<" * "<<endl;
  7. cout<<" * * "<<endl;
  8. cout<<" * * "<<endl;
  9. cout<<"* *"<<endl;
  10. cout<<" * * "<<endl;
  11. cout<<" * * "<<endl;
  12. cout<<" * "<<endl;
  13. return 0;
  14. }
Success #stdin #stdout 0s 4264KB
stdin
Standard input is empty
stdout
   *   
  * *  
 *   * 
*     *
 *   * 
  * *  
   *