aboutsummaryrefslogtreecommitdiff
path: root/problems/starshiplaunchcodes/attachments
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
commit3496b0ed08c51e37e135e686b1632fd86f930c2c (patch)
tree1da44792489607070f3b4ca14d82af05b73e362b /problems/starshiplaunchcodes/attachments
(init): Initialize repository.
Diffstat (limited to 'problems/starshiplaunchcodes/attachments')
-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
5 files changed, 65 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)")