fork download
  1. n <- 150000
  2. repeat {
  3. a <- rep(0, 9999)
  4. a[sample(9999, n, replace = TRUE)] <- n:1
  5. if (min(a)) cat(max(a), "\n") & break
  6. n <- n * 2
  7. }
Success #stdin #stdout 0.25s 42920KB
stdin
Standard input is empty
stdout
95055