Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.097 s | 13 KBi |
#2 |
Correcto
|
0.085 s | 13 KBi |
#3 |
Correcto
|
0.093 s | 10 KBi |
#4 |
Correcto
|
0.097 s | 14 KBi |
#5 |
Correcto
|
0.092 s | 10 KBi |
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; 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); } } }