Open melongist opened 8 months ago
what a coincidence ? https://github.com/zhblue/hustoj/tree/R-Language
I'm not familiar with R , it seems having source and input mixed together, unless using file as input. so the solution will take care of input and output as files: data.in / user.out R solution for A+B problem
a<- scan("data.in",what=integer(),quiet=TRUE)
write.table(a[1]+a[2], file = "user.out", row.names = FALSE, col.names = FALSE)
#RUN DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends r-base
Thank you~ :)
Is your feature request related to a problem? Please describe.
In DOMjudge(https://github.com/DOMjudge/domjudge) R(Rscript) code can be compiled and judged... https://www.r-project.org/
How can I add R programming compilation to HUSTOJ? Or Is there any plan to add R language? :)
Describe the solution you'd like R code judging~
Describe alternatives you've considered
Additional context