fork(2) download
  1. #include <iostream>
  2.  
  3. int main()
  4.  
  5. {
  6. std::cout << "YA LOMAL 2 STEKLA" << std::endl;
  7.  
  8. int x = 0, y = 0, z;
  9.  
  10. std::cin >> x >> y;
  11.  
  12. while (z > x)
  13.  
  14. {
  15. z = y - 1;
  16. --y;
  17. std::cout << z << std::endl;
  18. }
  19. std::cout << z << std::endl;
  20. return 0;
  21.  
  22. }
Success #stdin #stdout 0s 3460KB
stdin
3 10
stdout
YA LOMAL 2 STEKLA
-1081647188