diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2017-11-18 15:08:10 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2017-11-18 15:08:10 +0100 |
commit | 5961bb1ef61505be395a55710fbfcf11d62a239c (patch) | |
tree | e40b148863fb71785d05c864d0727aa16e8cb099 | |
parent | 38b8ac05ca74af915eafe32dc6399b55c28a8bae (diff) | |
download | AceptaElReto-5961bb1ef61505be395a55710fbfcf11d62a239c.tar.gz AceptaElReto-5961bb1ef61505be395a55710fbfcf11d62a239c.zip |
AƱadido esqueleto general de las soluciones.
-rw-r--r-- | AceptaElReto/src/problemas/SolucionBase.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/AceptaElReto/src/problemas/SolucionBase.java b/AceptaElReto/src/problemas/SolucionBase.java new file mode 100644 index 0000000..8f275e6 --- /dev/null +++ b/AceptaElReto/src/problemas/SolucionBase.java @@ -0,0 +1,22 @@ +package problemas;
+
+public class SolucionBase {
+
+ static java.util.Scanner in;
+
+ public static void main(String args[]) {
+ in = new java.util.Scanner(System.in);
+
+ int numCasos;
+ numCasos = in.nextInt();
+ for (int i = 0; i < numCasos; i++)
+ casoDePrueba();
+ }
+
+ public static void casoDePrueba() {
+ int n;
+ n = in.nextInt();
+
+ // Procesamiento de cada caso
+ }
+}
|