aboutsummaryrefslogtreecommitdiff
path: root/problems/starshiplaunchcodes
diff options
context:
space:
mode:
Diffstat (limited to 'problems/starshiplaunchcodes')
-rw-r--r--problems/starshiplaunchcodes/attachments/template.c17
-rw-r--r--problems/starshiplaunchcodes/attachments/template.cpp17
-rw-r--r--problems/starshiplaunchcodes/attachments/template.java16
-rw-r--r--problems/starshiplaunchcodes/attachments/template.js6
-rw-r--r--problems/starshiplaunchcodes/attachments/template.py9
-rw-r--r--problems/starshiplaunchcodes/data/secret/1.ans2
-rw-r--r--problems/starshiplaunchcodes/data/secret/1.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/2.ans3
-rw-r--r--problems/starshiplaunchcodes/data/secret/2.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/3.ans1
-rw-r--r--problems/starshiplaunchcodes/data/secret/3.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/4.ans4
-rw-r--r--problems/starshiplaunchcodes/data/secret/4.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/5.ans5
-rw-r--r--problems/starshiplaunchcodes/data/secret/5.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/6.ans6
-rw-r--r--problems/starshiplaunchcodes/data/secret/6.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/7.ans8
-rw-r--r--problems/starshiplaunchcodes/data/secret/7.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/8.ans1
-rw-r--r--problems/starshiplaunchcodes/data/secret/8.in1
-rw-r--r--problems/starshiplaunchcodes/data/secret/9.ans3
-rw-r--r--problems/starshiplaunchcodes/data/secret/9.in1
-rw-r--r--problems/starshiplaunchcodes/domjudge-problem.ini3
-rw-r--r--problems/starshiplaunchcodes/problem.pdfbin0 -> 24145 bytes
25 files changed, 110 insertions, 0 deletions
diff --git a/problems/starshiplaunchcodes/attachments/template.c b/problems/starshiplaunchcodes/attachments/template.c
new file mode 100644
index 0000000..228b009
--- /dev/null
+++ b/problems/starshiplaunchcodes/attachments/template.c
@@ -0,0 +1,17 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdbool.h>
+
+int main()
+{
+ int S;
+ scanf("%d", &S);
+
+ // Write an answer using printf(). DON'T FORGET THE TRAILING \n
+ // To debug: fprintf(stderr, "Debug messages...\n");
+
+ printf("code(s)\n");
+
+ return 0;
+}
diff --git a/problems/starshiplaunchcodes/attachments/template.cpp b/problems/starshiplaunchcodes/attachments/template.cpp
new file mode 100644
index 0000000..5bf1d30
--- /dev/null
+++ b/problems/starshiplaunchcodes/attachments/template.cpp
@@ -0,0 +1,17 @@
+#include <iostream>
+#include <string>
+#include <vector>
+#include <algorithm>
+
+using namespace std;
+
+int main()
+{
+ int s;
+ cin >> s; cin.ignore();
+
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
+ // To debug: cerr << "Debug messages..." << endl;
+
+ cout << "code(s)" << endl;
+}
diff --git a/problems/starshiplaunchcodes/attachments/template.java b/problems/starshiplaunchcodes/attachments/template.java
new file mode 100644
index 0000000..db7de41
--- /dev/null
+++ b/problems/starshiplaunchcodes/attachments/template.java
@@ -0,0 +1,16 @@
+import java.util.*;
+import java.io.*;
+import java.math.*;
+
+class Solution {
+
+ public static void main(String args[]) {
+ Scanner in = new Scanner(System.in);
+ int S = in.nextInt();
+
+ // Write an answer using System.out.println()
+ // To debug: System.err.println("Debug messages...");
+
+ System.out.println("code(s)");
+ }
+}
diff --git a/problems/starshiplaunchcodes/attachments/template.js b/problems/starshiplaunchcodes/attachments/template.js
new file mode 100644
index 0000000..7cac261
--- /dev/null
+++ b/problems/starshiplaunchcodes/attachments/template.js
@@ -0,0 +1,6 @@
+const S = parseInt(readline());
+
+// Write an answer using console.log()
+// To debug: console.error('Debug messages...');
+
+console.log('code(s)');
diff --git a/problems/starshiplaunchcodes/attachments/template.py b/problems/starshiplaunchcodes/attachments/template.py
new file mode 100644
index 0000000..772dd3f
--- /dev/null
+++ b/problems/starshiplaunchcodes/attachments/template.py
@@ -0,0 +1,9 @@
+import sys
+import math
+
+s = int(input())
+
+# Write an answer using print
+# To debug: print("Debug messages...", file=sys.stderr, flush=True)
+
+print("code(s)")
diff --git a/problems/starshiplaunchcodes/data/secret/1.ans b/problems/starshiplaunchcodes/data/secret/1.ans
new file mode 100644
index 0000000..f4b23ca
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/1.ans
@@ -0,0 +1,2 @@
+0110
+1001
diff --git a/problems/starshiplaunchcodes/data/secret/1.in b/problems/starshiplaunchcodes/data/secret/1.in
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/1.in
@@ -0,0 +1 @@
+2
diff --git a/problems/starshiplaunchcodes/data/secret/2.ans b/problems/starshiplaunchcodes/data/secret/2.ans
new file mode 100644
index 0000000..7b7c8e4
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/2.ans
@@ -0,0 +1,3 @@
+0220
+1111
+2002
diff --git a/problems/starshiplaunchcodes/data/secret/2.in b/problems/starshiplaunchcodes/data/secret/2.in
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/2.in
@@ -0,0 +1 @@
+4
diff --git a/problems/starshiplaunchcodes/data/secret/3.ans b/problems/starshiplaunchcodes/data/secret/3.ans
new file mode 100644
index 0000000..739d797
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/3.ans
@@ -0,0 +1 @@
+0000
diff --git a/problems/starshiplaunchcodes/data/secret/3.in b/problems/starshiplaunchcodes/data/secret/3.in
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/3.in
@@ -0,0 +1 @@
+0
diff --git a/problems/starshiplaunchcodes/data/secret/4.ans b/problems/starshiplaunchcodes/data/secret/4.ans
new file mode 100644
index 0000000..952a2eb
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/4.ans
@@ -0,0 +1,4 @@
+0330
+1221
+2112
+3003
diff --git a/problems/starshiplaunchcodes/data/secret/4.in b/problems/starshiplaunchcodes/data/secret/4.in
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/4.in
@@ -0,0 +1 @@
+6
diff --git a/problems/starshiplaunchcodes/data/secret/5.ans b/problems/starshiplaunchcodes/data/secret/5.ans
new file mode 100644
index 0000000..2869f84
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/5.ans
@@ -0,0 +1,5 @@
+0440
+1331
+2222
+3113
+4004
diff --git a/problems/starshiplaunchcodes/data/secret/5.in b/problems/starshiplaunchcodes/data/secret/5.in
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/5.in
@@ -0,0 +1 @@
+8
diff --git a/problems/starshiplaunchcodes/data/secret/6.ans b/problems/starshiplaunchcodes/data/secret/6.ans
new file mode 100644
index 0000000..e4c6a74
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/6.ans
@@ -0,0 +1,6 @@
+0550
+1441
+2332
+3223
+4114
+5005
diff --git a/problems/starshiplaunchcodes/data/secret/6.in b/problems/starshiplaunchcodes/data/secret/6.in
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/6.in
@@ -0,0 +1 @@
+10
diff --git a/problems/starshiplaunchcodes/data/secret/7.ans b/problems/starshiplaunchcodes/data/secret/7.ans
new file mode 100644
index 0000000..97e8e6b
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/7.ans
@@ -0,0 +1,8 @@
+0770
+1661
+2552
+3443
+4334
+5225
+6116
+7007
diff --git a/problems/starshiplaunchcodes/data/secret/7.in b/problems/starshiplaunchcodes/data/secret/7.in
new file mode 100644
index 0000000..8351c19
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/7.in
@@ -0,0 +1 @@
+14
diff --git a/problems/starshiplaunchcodes/data/secret/8.ans b/problems/starshiplaunchcodes/data/secret/8.ans
new file mode 100644
index 0000000..3c2df07
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/8.ans
@@ -0,0 +1 @@
+9999
diff --git a/problems/starshiplaunchcodes/data/secret/8.in b/problems/starshiplaunchcodes/data/secret/8.in
new file mode 100644
index 0000000..7facc89
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/8.in
@@ -0,0 +1 @@
+36
diff --git a/problems/starshiplaunchcodes/data/secret/9.ans b/problems/starshiplaunchcodes/data/secret/9.ans
new file mode 100644
index 0000000..554ef0f
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/9.ans
@@ -0,0 +1,3 @@
+7997
+8888
+9779
diff --git a/problems/starshiplaunchcodes/data/secret/9.in b/problems/starshiplaunchcodes/data/secret/9.in
new file mode 100644
index 0000000..f5c8955
--- /dev/null
+++ b/problems/starshiplaunchcodes/data/secret/9.in
@@ -0,0 +1 @@
+32
diff --git a/problems/starshiplaunchcodes/domjudge-problem.ini b/problems/starshiplaunchcodes/domjudge-problem.ini
new file mode 100644
index 0000000..1cb76f0
--- /dev/null
+++ b/problems/starshiplaunchcodes/domjudge-problem.ini
@@ -0,0 +1,3 @@
+name = "Starship Launch Codes"
+timelimit = 3
+points = 2
diff --git a/problems/starshiplaunchcodes/problem.pdf b/problems/starshiplaunchcodes/problem.pdf
new file mode 100644
index 0000000..fec26e7
--- /dev/null
+++ b/problems/starshiplaunchcodes/problem.pdf
Binary files differ