aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2017-11-18 15:22:49 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2017-11-18 15:22:49 +0100
commite8290ed3108c85d4dd9cf86c0c1bcb76d19436ef (patch)
tree9cfcf2aca168fab3f41cfed60aac1a82dca7c1c5
parent5961bb1ef61505be395a55710fbfcf11d62a239c (diff)
downloadAceptaElReto-e8290ed3108c85d4dd9cf86c0c1bcb76d19436ef.tar.gz
AceptaElReto-e8290ed3108c85d4dd9cf86c0c1bcb76d19436ef.zip
Actualizada soluciĆ³n base.
-rw-r--r--AceptaElReto/src/problemas/SolucionBase.java30
1 files changed, 14 insertions, 16 deletions
diff --git a/AceptaElReto/src/problemas/SolucionBase.java b/AceptaElReto/src/problemas/SolucionBase.java
index 8f275e6..faefca9 100644
--- a/AceptaElReto/src/problemas/SolucionBase.java
+++ b/AceptaElReto/src/problemas/SolucionBase.java
@@ -3,20 +3,18 @@ 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
- }
+
+ public static void main(String args[]) {
+ in = new java.util.Scanner(System.in);
+
+ int numCasos = in.nextInt();
+ for (int i = 0; i < numCasos; i++) {
+ casoDePrueba();
+ }
+ }
+
+ public static void casoDePrueba() {
+ int n = in.nextInt();
+ // Procesamiento de cada caso
+ }
}