Pagini recente » Istoria paginii runda/runda12/clasament | Cod sursa (job #668579) | Cod sursa (job #351137) | Sandbox (cutiuţa cu năsip) | Cod sursa (job #2447889)
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package aria_infoarena;
import java.io.*;
import java.util.*;
/**
*
* @author dakata
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws FileNotFoundException {
// TODO code application logic here
Scanner scanner = new Scanner(new FileInputStream("adunare.in"));
PrintStream writer = new PrintStream("adunare.out");
int a = Integer.parseInt(scanner.nextLine());
int b = Integer.parseInt(scanner.nextLine());
writer.println(a+b);
}
}