Pagini recente » Cod sursa (job #1869133) | Cod sursa (job #537661) | Cod sursa (job #253027) | Diferente pentru problema/fpwl intre reviziile 4 si 3 | Cod sursa (job #2329415)
import java.io.*;
import java.util.Scanner;
class a_plus_b {
public static void main(String ...args) throws IOException {
Scanner fileIn = new Scanner(new FileReader("adunare.in"));
BufferedWriter fileOut = new BufferedWriter(new FileWriter("adunare.out"));
int sum = fileIn.nextInt() + fileIn.nextInt();
fileOut.write("" + sum);
fileIn.close();
fileOut.close();
}
}