Cod sursa(job #2447886)

Utilizator dakataIonescu Valentin-Alexandru dakata Data 14 august 2019 22:40:03
Problema A+B Scor 0
Compilator java Status done
Runda Arhiva de probleme Marime 0.78 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.
 */
package aria_infoarena;

import java.io.*;
import java.util.*;


/**
 *
 * @author dakata
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException, IOException {
        // TODO code application logic here
        Scanner scanner = new Scanner(new FileInputStream("aria.in"));
        PrintStream writer = new PrintStream("aria.out");
                
        int a = Integer.parseInt(scanner.nextLine());
        int b = Integer.parseInt(scanner.nextLine());
        writer.println(a+b);
        
    }
    
}