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