Pagini recente » Cod sursa (job #1737169) | Monitorul de evaluare | Cod sursa (job #3191649) | Cod sursa (job #2984610) | Cod sursa (job #1382144)
import java.io.*;
import java.util.Scanner;
public class JavaApplication3 {
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);
}
}