fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.  
  7. long long res = 1;
  8. int i = 1;
  9. while (i <= 50) {
  10. res *= i;
  11. ++i;
  12. }
  13. cout << res << endl;
  14. return 0;
  15. }
Success #stdin #stdout 0s 16048KB
stdin
Standard input is empty
stdout
-3258495067890909184