Cod sursa(job #1002977)
Utilizator | Data | 29 septembrie 2013 14:40:35 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int a,b,c;
f>>a;
f>>b;
c=a+b;
g<<c<<endl;
}