Pagini recente » Cod sursa (job #1541000) | Cod sursa (job #2669106) | Cod sursa (job #1598377) | Cod sursa (job #2571461) | Cod sursa (job #1382150)
package adunare;
import java.io.*;
import java.util.*;
public class Adunare {
public static void main(String[] args) throws IOException{
InputStream is = new FileInputStream("adunare.in");
OutputStream os = new FileOutputStream("adunare.out");
Scanner s = new Scanner(is);
PrintStream w = new PrintStream(os);
int x = s.nextInt();
int y = s.nextInt();
w.print(x+y);
}
}