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