Cod sursa(job #1430942)

Utilizator Gheorghe_Liviu_Adrian_325CCGheorghe Liviu-Adrian Gheorghe_Liviu_Adrian_325CC Data 8 mai 2015 22:15:27
Problema A+B Scor 100
Compilator java Status done
Runda Arhiva de probleme Marime 0.61 kb
/*
 * 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.
 */
/**
 *
 * @author livv
 */
import  java.util.*;
import java.io.*;
public class Main {
    public static void main(String [] args) throws IOException
    {
        
        int a,b;
        Scanner s=new Scanner(new FileInputStream("adunare.in"));
        a=s.nextInt();
        b=s.nextInt();
        FileWriter out=new FileWriter("adunare.out");
        out.write(""+(a+b));
        out.close();
        
    }
}