fork download
  1. cnt = gets.to_i
  2. res = 1;
  3. while(cnt--)
  4. {
  5. nw = gets.to_i
  6. res *= nw
  7. }
  8. puts res
Success #stdin #stdout 0s 3424KB
stdin
100
stdout
Standard output is empty