aboutsummaryrefslogtreecommitdiff
path: root/problems/findpalindromes/attachments/template.java
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/findpalindromes/attachments/template.java
(init): Initialize repository.
Diffstat (limited to 'problems/findpalindromes/attachments/template.java')
-rw-r--r--problems/findpalindromes/attachments/template.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/problems/findpalindromes/attachments/template.java b/problems/findpalindromes/attachments/template.java
new file mode 100644
index 0000000..f4c116d
--- /dev/null
+++ b/problems/findpalindromes/attachments/template.java
@@ -0,0 +1,22 @@
+import java.util.*;
+import java.io.*;
+import java.math.*;
+
+class Solution {
+
+ public static void main(String args[]) {
+ Scanner in = new Scanner(System.in);
+ int n = in.nextInt();
+ if (in.hasNextLine()) {
+ in.nextLine();
+ }
+ for (int i = 0; i < n; i++) {
+ String s = in.nextLine();
+ }
+
+ // Write an answer using System.out.println()
+ // To debug: System.err.println("Debug messages...");
+
+ System.out.println("good_luck");
+ }
+}