Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.039 s | 14 KBi |
#2 |
Correcto
|
0.041 s | 14 KBi |
#3 |
Correcto
|
0.039 s | 14 KBi |
#4 |
Correcto
|
0.059 s | 10 KBi |
#5 |
Correcto
|
0.084 s | 51 KBi |
import java.io.*; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer line = new StringTokenizer(input.readLine()); long firstNumber = Long.parseLong(line.nextToken()); long secondNumber = Long.parseLong(line.nextToken()); System.out.println(firstNumber + secondNumber); } }