We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06493a commit cc9be25Copy full SHA for cc9be25
runtime-exec/Dockerfile
@@ -0,0 +1,14 @@
1
+FROM ubuntu:21.04
2
+
3
+RUN apt-get update
4
+RUN apt-get -y upgrade
5
+RUN apt-get -y install golang ca-certificates build-essential
6
7
+RUN update-ca-certificates
8
9
+WORKDIR /code-grader
10
+COPY . .
11
12
+WORKDIR /code-grader/runtime-exec
13
+RUN go build
14
+ENTRYPOINT [ "./runtime-exec" ]
testcases/example-1/answer.txt
@@ -1,9 +1,4 @@
int main() {
- string word;
- cin << word;
- if (word == "Hello)
- {
- cout << "World" << endl;
- }
+ cout << "World" << endl;
return 0;
}
testcases/example-1/input.txt
@@ -1,4 +1,4 @@
// Input Data
-// Line Starts with `//` will be ignored
+// Line starting with `//` and empty lines will be ignored
Hello
0 commit comments