Cod sursa(job #679987)

Utilizator Pop-AdyPop Adrian Pop-Ady Data 13 februarie 2012 22:27:48
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include<fstream.h>
#include<stdio.h>
using namespace std;

int main()
{
 long a, b, s;
 ifstream citire("adunare.in");
 citire>>a>>b;
 s=a+b;
 ofstream scriere("adunare.out");
 scriere<<s;
 scriere.close();
 return 0;
}