mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-11-04 14:50:01 +08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
5cd7ae7688
@ -2,7 +2,7 @@ FROM ubuntu:18.04
|
||||
|
||||
COPY build/java_policy /etc
|
||||
RUN buildDeps='software-properties-common git libtool cmake python-dev python3-pip python-pip libseccomp-dev' && \
|
||||
apt-get update && apt-get install -y python python-pkg-resources python3-pkg-resources $buildDeps && \
|
||||
apt-get update && apt-get install -y python python3 python-pkg-resources python3-pkg-resources $buildDeps && \
|
||||
add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-9 g++-9 && \
|
||||
rm /usr/bin/gcc /usr/bin/g++ && ln -s /usr/bin/gcc-9 /usr/bin/gcc && ln -s /usr/bin/g++-9 /usr/bin/g++ && \
|
||||
add-apt-repository ppa:openjdk-r/ppa && add-apt-repository ppa:longsleep/golang-backports && apt-get update && apt-get install -y golang-go openjdk-8-jdk && \
|
||||
|
||||
@ -111,9 +111,10 @@ print(int(s1[0]) + int(s1[1]))"""
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
int a, b;
|
||||
fmt.Scanf("%d %d", &a, &b);
|
||||
fmt.Print("%d", a + b)
|
||||
a := 0
|
||||
b := 0
|
||||
fmt.Scanf("%d %d", &a, &b)
|
||||
fmt.Printf("%d", a + b)
|
||||
}"""
|
||||
|
||||
client = JudgeServerClient(token=token, server_base_url="http://127.0.0.1:12358")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user