You are viewing a single comment's thread. Return to all comments →
In R could be:
stdin <- file('stdin') open(stdin) line <- as.numeric(strsplit(trimws(readLines(stdin, n = 1, warn = FALSE), which = "right"), " ")[[1]]) cat(format(round(160 + 40*(line[1]+line[1]^2),3), nsmall=3), fill=TRUE) cat(format(round(128 + 40*(line[2]+line[2]^2),3), nsmall=3), fill=TRUE)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Poisson Distribution II
You are viewing a single comment's thread. Return to all comments →
In R could be: