commit 49806482ef10ee2162ac00b33165007f5afe27dc Author: Celeste Madeline Samuel Nokto Dur Grossiord Date: Thu Oct 8 02:41:51 2026 +0200 0.0.1.0 diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..efedf92 --- /dev/null +++ b/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..4350aa9 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + O.T.T.K + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..3124684 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=25 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=25 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=25 diff --git a/bin/module-info.class b/bin/module-info.class new file mode 100644 index 0000000..41bc0d2 Binary files /dev/null and b/bin/module-info.class differ diff --git a/bin/org/kotama/OTTK/In.class b/bin/org/kotama/OTTK/In.class new file mode 100644 index 0000000..156b213 Binary files /dev/null and b/bin/org/kotama/OTTK/In.class differ diff --git a/bin/org/kotama/OTTK/Out.class b/bin/org/kotama/OTTK/Out.class new file mode 100644 index 0000000..04b0d13 Binary files /dev/null and b/bin/org/kotama/OTTK/Out.class differ diff --git a/src/module-info.java b/src/module-info.java new file mode 100644 index 0000000..6027952 --- /dev/null +++ b/src/module-info.java @@ -0,0 +1,9 @@ +/** + * + */ +/** + * + */ +module O.T.T.K { + exports org.kotama.OTTK; +} \ No newline at end of file diff --git a/src/org/kotama/OTTK/In.java b/src/org/kotama/OTTK/In.java new file mode 100644 index 0000000..60019c3 --- /dev/null +++ b/src/org/kotama/OTTK/In.java @@ -0,0 +1,16 @@ +package org.kotama.OTTK; + +import java.util.Scanner; + +public class In { + public static String Readline() + { + Scanner myObj = new Scanner(System.in); + return myObj.nextLine(); + } + public static int ReadInt() + { + Scanner myObj = new Scanner(System.in); + return myObj.nextInt(); + } +} diff --git a/src/org/kotama/OTTK/Out.java b/src/org/kotama/OTTK/Out.java new file mode 100644 index 0000000..65410ba --- /dev/null +++ b/src/org/kotama/OTTK/Out.java @@ -0,0 +1,32 @@ +package org.kotama.OTTK; + +public class Out { + public static void Println(String s) + { + System.out.println(s); + } + public static void Println(int i) + { + System.out.println(i); + } + public static void Print(String s) + { + System.out.print(s); + } + public static void Print(char c) + { + System.out.print(c); + } + public static void WriteMachine(String t, int time) + { + for(int i = 0; i < t.length(); i++) + { + Print(t.charAt(i)); + try { + Thread.sleep(time); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + } + } + } +}