Cod sursa(job #1827285)
Utilizator | Data | 11 decembrie 2016 18:24:13 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | java | Status | done |
Runda | Arhiva de probleme | Marime | 0.35 kb |
package tap;
import java.io.*;
import java.util.*;
public class Main
{
public static void main(String argv[]) throws IOException
{
Scanner sc = new Scanner(new File("adunare.in"));
PrintWriter pw = new PrintWriter(new File("adunare.out"));
int a = sc.nextInt(), b = sc.nextInt();
pw.print(a + b);
sc.close(); pw.close();
}
}