Cod sursa(job #2195738)

Utilizator overstainedVlad Radu overstained Data 17 aprilie 2018 12:01:05
Problema A+B Scor 0
Compilator java Status done
Runda Arhiva de probleme Marime 0.44 kb
package test;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

public class Main {
    

	public static void main(String[] args) throws IOException {
		try(Scanner in = new Scanner(new File("adunare.in"));
			BufferedWriter out = new BufferedWriter(new FileWriter(new File("adunare.out")));) {
			out.write(in.nextInt() + in.nextInt());
			out.newLine();
		}
	}
}