aboutsummaryrefslogtreecommitdiff
path: root/problems/somevigenere/attachments
diff options
context:
space:
mode:
Diffstat (limited to 'problems/somevigenere/attachments')
-rw-r--r--problems/somevigenere/attachments/template.c19
-rw-r--r--problems/somevigenere/attachments/template.cpp19
-rw-r--r--problems/somevigenere/attachments/template.java17
-rw-r--r--problems/somevigenere/attachments/template.js7
-rw-r--r--problems/somevigenere/attachments/template.py10
5 files changed, 72 insertions, 0 deletions
diff --git a/problems/somevigenere/attachments/template.c b/problems/somevigenere/attachments/template.c
new file mode 100644
index 0000000..3a88b07
--- /dev/null
+++ b/problems/somevigenere/attachments/template.c
@@ -0,0 +1,19 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdbool.h>
+
+int main()
+{
+ char plain_text[64];
+ scanf("%[^\n]", plain_text); fgetc(stdin);
+ char key[64];
+ scanf("%[^\n]", key);
+
+ // Write an answer using printf(). DON'T FORGET THE TRAILING \n
+ // To debug: fprintf(stderr, "Debug messages...\n");
+
+ printf("Caesar would be proud\n");
+
+ return 0;
+}
diff --git a/problems/somevigenere/attachments/template.cpp b/problems/somevigenere/attachments/template.cpp
new file mode 100644
index 0000000..e8c24fa
--- /dev/null
+++ b/problems/somevigenere/attachments/template.cpp
@@ -0,0 +1,19 @@
+#include <iostream>
+#include <string>
+#include <vector>
+#include <algorithm>
+
+using namespace std;
+
+int main()
+{
+ string plain_text;
+ getline(cin, plain_text);
+ string key;
+ getline(cin, key);
+
+ // Write an answer using cout. DON'T FORGET THE "<< endl"
+ // To debug: cerr << "Debug messages..." << endl;
+
+ cout << "Caesar would be proud" << endl;
+}
diff --git a/problems/somevigenere/attachments/template.java b/problems/somevigenere/attachments/template.java
new file mode 100644
index 0000000..cb4ceea
--- /dev/null
+++ b/problems/somevigenere/attachments/template.java
@@ -0,0 +1,17 @@
+import java.util.*;
+import java.io.*;
+import java.math.*;
+
+class Solution {
+
+ public static void main(String args[]) {
+ Scanner in = new Scanner(System.in);
+ String plainText = in.nextLine();
+ String key = in.nextLine();
+
+ // Write an answer using System.out.println()
+ // To debug: System.err.println("Debug messages...");
+
+ System.out.println("Caesar would be proud");
+ }
+}
diff --git a/problems/somevigenere/attachments/template.js b/problems/somevigenere/attachments/template.js
new file mode 100644
index 0000000..00de663
--- /dev/null
+++ b/problems/somevigenere/attachments/template.js
@@ -0,0 +1,7 @@
+const plainText = readline();
+const key = readline();
+
+// Write an answer using console.log()
+// To debug: console.error('Debug messages...');
+
+console.log('Caesar would be proud');
diff --git a/problems/somevigenere/attachments/template.py b/problems/somevigenere/attachments/template.py
new file mode 100644
index 0000000..489505f
--- /dev/null
+++ b/problems/somevigenere/attachments/template.py
@@ -0,0 +1,10 @@
+import sys
+import math
+
+plain_text = input()
+key = input()
+
+# Write an answer using print
+# To debug: print("Debug messages...", file=sys.stderr, flush=True)
+
+print("Caesar would be proud")