fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. for (int stop_at = 3; stop_at >= 1; --stop_at)
  6. {
  7. for (int x = 3; x >= stop_at; --x)
  8. {
  9. std::cout << x;
  10. }
  11. std::cout << '\n';
  12. }
  13. }
  14.  
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout
3
32
321