Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main 5 errors |
||
#2 |
Error de compilación
Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main 5 errors |
||
#3 |
Error de compilación
Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main 5 errors |
||
#4 |
Error de compilación
Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main 5 errors |
||
#5 |
Error de compilación
Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main Main.java:7: error: cannot find symbol StringTokenizer st = new StringTokenizer(ln); ^ symbol: class StringTokenizer location: class Main 5 errors |
public class Main { public static void main(String[] args) throws Throwable { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); for(String ln; (ln = in.readLine())!= null;){ StringTokenizer st = new StringTokenizer(ln); long a = Long.parseLong(st.nextToken()); long b = Long.parseLong(st.nextToken()); System.out.println(a + b); } } }